dbTalk Databases Forums  

Cell Writeback Error

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


Discuss Cell Writeback Error in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Raj C.
 
Posts: n/a

Default Cell Writeback Error - 01-15-2004 , 02:28 PM






Hi,

I am performing a cell writeback to the Sales cube in
Foodmart 2000 using the following syntax:

Update Cube [Sales]
Set ([Customers].[All Customers].[USA].[CA].[Altadena],
[Education Level].[All Education Level].[High School
Degree],[Gender].[All Gender].[F],[Marital Status].[All
Marital Status].[S],[Product].[All Products].[Food].
[Canned Foods].[Canned Soup].[Soup].[Blue Label].[Blue
Label Turkey Noodle Soup],[Time].[1997].[Q1].[3],
[Measures].[Sales Count])= 50 Use_Equal_Allocation

The process runs for about 3 minutes (while it consumes
tremendous amounts of memory) and then for some
unexplained reason, the following error message is
generated:

Syntax error in expression, near: 'exec Update Cube
[Sales] Set ([Customers].[All Customers].[USA].[CA].
[Altadena],[Education Level].[All Education Level].[High
School Degree],[Gender].[All Gender].[F],[Marital Status].
[All Marital Status].[S],[Product].[All Products].[Food].
[Canned Foods].[Canned Soup].[Soup].[Blue Label].[Blue
Label Turkey Noodle Soup],[Time].[1997].[Q1].[3],
[Measures].[Sales Count])= 50 Use_Equal_Allocation

Suspecting it might be a memory issue and not a syntax
issue, I then ran the same update statement using a
slightly smaller cube (SalesSmall) that is identical to
the Sales cube but contains 2 less dimensions (I removed
the Promotions and Promotion Media dimensions). The same
syntax in the SalesSmall cube executed a writeback in
about 2 seconds and DID NOT generate the above error. For
testing purposes, I then created another cube
(SalesSmall1) where I added back the Promotions dimension
to the SalesSmall cube. Again, the same syntax executed a
writeback in about 15 seconds and DID NOT generate the
above error.

I ran a google search and could not find a reference to
this error. Can anybody explain this MDX error, confirm
that it is related to cube size, and possibly suggest a
work around solution for executing cell writebacks in
larger cubes.

Many thanks,

Raj C.





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.