x
login about faq Site discussion (meta-askssc)

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 '09 at 01:37 PM in Default

Raj More gravatar image

Raj More
1.7k 75 79 82

(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.

http://technet.microsoft.com/en-us/library/ms186692.aspx

more ▼

answered Dec 01 '09 at 01:52 PM

sp_lock gravatar image

sp_lock
8.2k 20 26 29

(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.

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x144
x15
x5

asked: Dec 01 '09 at 01:37 PM

Seen: 1576 times

Last Updated: Dec 01 '09 at 01:37 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.