dbTalk Databases Forums  

Processing Dims and Partitions

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


Discuss Processing Dims and Partitions in the microsoft.public.sqlserver.olap forum.



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

Default Processing Dims and Partitions - 12-06-2004 , 08:12 AM






I'm trying to programmatically process a set of AS objects and running into
a problem. My code currently loops through all of the shared dimensions in
a database, processing each using the processDefault type. Then, I want to
run through a list of partitions, incrementally updating each based on a
filter used on each partitions underlying fact table. When I try to process
the first partition (after successfully creating a temp partition to hold
the incremental data), I get the following error (this is the
Err.Description value -- I'm working in VBScript):

Dimension 'xyz' was processed in the same transaction

I believe this is being caused by the fact that I am wrapping this whole
operation in a transaction using the BeginTrans method on the database. I'd
like to do this so that if any of the incremental partition updates fail, I
can rollback the whole transaction so that none of the partition updates AND
none of the dimension updates are saved.

Is this possible?

Thanks for any thoughts...

Dave Fackler



Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Processing Dims and Partitions - 12-08-2004 , 12:01 PM






can't DTS do this with a wizard?


"Dave Fackler" <davef (AT) intellinet (DOT) com> wrote

Quote:
I'm trying to programmatically process a set of AS objects and running
into
a problem. My code currently loops through all of the shared dimensions
in
a database, processing each using the processDefault type. Then, I want
to
run through a list of partitions, incrementally updating each based on a
filter used on each partitions underlying fact table. When I try to
process
the first partition (after successfully creating a temp partition to hold
the incremental data), I get the following error (this is the
Err.Description value -- I'm working in VBScript):

Dimension 'xyz' was processed in the same transaction

I believe this is being caused by the fact that I am wrapping this whole
operation in a transaction using the BeginTrans method on the database.
I'd
like to do this so that if any of the incremental partition updates fail,
I
can rollback the whole transaction so that none of the partition updates
AND
none of the dimension updates are saved.

Is this possible?

Thanks for any thoughts...

Dave Fackler





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.