dbTalk Databases Forums  

4000 character limit on Analysis Services processing task ProcessingCommands property

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss 4000 character limit on Analysis Services processing task ProcessingCommands property in the microsoft.public.sqlserver.dts forum.



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

Default 4000 character limit on Analysis Services processing task ProcessingCommands property - 12-20-2005 , 09:17 AM






Environment: SQL 2005 EE RTM

I am trying to provide a dynamic XMLA string to an Analysis Services
processing task using a package-level variable. My XMLA string is
about 5400 characters long. I am able to put the value into the
variable in a Script task, but it goes down in the AS processing task
within an expression that is using the variable for the
ProcessingCommands value. The message states that there is a 4000
character limit within the expression. If I paste the value into the
property, it runs fine.

Anybody seen this?

TIA
Randy


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: 4000 character limit on Analysis Services processing task ProcessingCommands property - 12-20-2005 , 10:34 AM






Expressions can be limited to 4000 characters, and this is what you are
seeing. Bit of a pain actually and I cannot see a simple way round it right
now.

"In some cases, Integration Services imposes a 4000-character limit on the
length of expressions. If the evaluation result of an expression has the
Integration Services data type DT_WSTR or DT_STR, the expression will be
truncated at 4000 characters. If the result type of a sub-expression is
DT_STR or DT_WSTR, that sub-expression will likewise be truncated to 4000
characters, regardless of the overall expression result type."


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com


"Randy Martin" <randy.martin (AT) ds-iq (DOT) com> wrote

Quote:
Environment: SQL 2005 EE RTM

I am trying to provide a dynamic XMLA string to an Analysis Services
processing task using a package-level variable. My XMLA string is
about 5400 characters long. I am able to put the value into the
variable in a Script task, but it goes down in the AS processing task
within an expression that is using the variable for the
ProcessingCommands value. The message states that there is a 4000
character limit within the expression. If I paste the value into the
property, it runs fine.

Anybody seen this?

TIA
Randy




Reply With Quote
  #3  
Old   
Randy Martin
 
Posts: n/a

Default Re: 4000 character limit on Analysis Services processing task ProcessingCommands property - 12-20-2005 , 10:50 AM



Darren,

I was afraid that this would be the case. I will look at other
options, including stuffing the value into the AS task property via
code somewhere in the package.

Thanks for the quick response.
Randy


Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: 4000 character limit on Analysis Services processing task ProcessingCommands property - 12-20-2005 , 11:28 AM



You cannot set properties from within a package, your only option is
expressions. You cannot access the object model in this way in SSIS.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"Randy Martin" <randy.martin (AT) ds-iq (DOT) com> wrote

Quote:
Darren,

I was afraid that this would be the case. I will look at other
options, including stuffing the value into the AS task property via
code somewhere in the package.

Thanks for the quick response.
Randy




Reply With Quote
  #5  
Old   
Randy Martin
 
Posts: n/a

Default Re: 4000 character limit on Analysis Services processing task ProcessingCommands property - 12-20-2005 , 06:47 PM



OK, good to know where the brick wall is before heading down the
dead-end...


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.