dbTalk Databases Forums  

Binding Too Small

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Binding Too Small in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kent
 
Posts: n/a

Default Binding Too Small - 05-08-2006 , 12:28 PM






Hi,

I'm currently getting the following error upon processing a cube in
SASS 2005:

....The size specified for a binding was too small, resulting in one or
more column values being truncated. ...

Is there anyway to determine which binding is causing the problem?

Thanks in advance,
Kent


Reply With Quote
  #2  
Old   
Adrian Dumitrascu [MS]
 
Posts: n/a

Default Re: Binding Too Small - 05-08-2006 , 12:52 PM






Hi,
The error message specifies what is the object for which the error occured ?
At least the dimension or cube or dimension attribute.

Usually this problem happens because the specified DataSize is too small for
KeyColumns of type WChar or NameColumns for DimensionAttributes.

Adrian.


"Kent" <roberts (AT) saintpatrick (DOT) org> wrote

Quote:
Hi,

I'm currently getting the following error upon processing a cube in
SASS 2005:

...The size specified for a binding was too small, resulting in one or
more column values being truncated. ...

Is there anyway to determine which binding is causing the problem?

Thanks in advance,
Kent




Reply With Quote
  #3  
Old   
Kent
 
Posts: n/a

Default Re: Binding Too Small - 05-08-2006 , 03:13 PM



Thanks Adrian. Yes, it does specifiy the measure group, but not which
column. I have checked all the key fields and, frankly, I'm not sure
what to look for. I was getting the same error on a couple dimensions
and found a foreign key defined as smallint and the related primary key
to be int. When I matched those, that error went away. I've been
looking for the same type of problem with the measure group and have
yet to find it. It seems strange that the message doesn't indicate
exactly which column is the problem.


Reply With Quote
  #4  
Old   
Adrian Dumitrascu [MS]
 
Posts: n/a

Default Re: Binding Too Small - 05-08-2006 , 04:46 PM



Where did you changed the data type (from smallint to int) to fix the
dimension errors ? In the DataSourceView or you changed the DataType for the
KeyColumns of DimensionAttributes ?

Adrian Dumitrascu.



"Kent" <roberts (AT) saintpatrick (DOT) org> wrote

Quote:
Thanks Adrian. Yes, it does specifiy the measure group, but not which
column. I have checked all the key fields and, frankly, I'm not sure
what to look for. I was getting the same error on a couple dimensions
and found a foreign key defined as smallint and the related primary key
to be int. When I matched those, that error went away. I've been
looking for the same type of problem with the measure group and have
yet to find it. It seems strange that the message doesn't indicate
exactly which column is the problem.




Reply With Quote
  #5  
Old   
Tim Dot NoSpam
 
Posts: n/a

Default Re: Binding Too Small - 05-08-2006 , 09:38 PM



Hi Kent. I just went through this last week.

I changed a dimension attribute from nvarchar(20) to nvarchar(50) and
updated the dsv (assuming it would also update the dimensions) but
processing failed with the binding too small exception.

The column binding on one of the dimensions was still set to the former
size. The DSV was updated to nvarchar(50), the dimension was not. You'll
have to find out what columns were changed then manually update the size on
the attributes that bind to the column.


For dimensions, it will probably be either the Name column,Value column.or
Key Column(s).

For facts, expand the Source property until you find the data type and size.

These are accessible through the properties window.

-T

"Kent" <roberts (AT) saintpatrick (DOT) org> wrote

Quote:
Thanks Adrian. Yes, it does specifiy the measure group, but not which
column. I have checked all the key fields and, frankly, I'm not sure
what to look for. I was getting the same error on a couple dimensions
and found a foreign key defined as smallint and the related primary key
to be int. When I matched those, that error went away. I've been
looking for the same type of problem with the measure group and have
yet to find it. It seems strange that the message doesn't indicate
exactly which column is the problem.




Reply With Quote
  #6  
Old   
Kent
 
Posts: n/a

Default Re: Binding Too Small - 05-09-2006 , 11:30 AM



I just can't understand why the error can't indicate which column is
posing the problem. I have been trying to figure out which one for
going on two days now. ARRRRGGGG!!!!

Thanks for responding Tim. I'll just keep trying.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.