Batch Separation in XMLA

The T-SQL batch separation keyword is GO

Is there a similar thing for XMLA?

I am scripting out many partitions and aggregations using XMLA scripts. Running them one at a time is time consuming so I'm wondering how I can separate them using something like GO and run the whole script at one time.

more ▼

asked Dec 01, 2009 at 01:37 PM in Default

Raj More gravatar image

Raj More
1.7k 80 82 84

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Within your XML you can create a <batch transaction/> element that will then be used when executing.


more ▼

answered Dec 01, 2009 at 01:52 PM

sp_lock gravatar image

9.3k 25 28 31

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Dec 01, 2009 at 01:37 PM

Seen: 2680 times

Last Updated: Dec 01, 2009 at 01:37 PM