Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Batch Element (XMLA)


Applies To: SQL Server 2016 Preview

Performs one or more XML for Analysis (XMLA) commands as a batch operation, either sequentially or in parallel, on an instance of Microsoft SQL Server Analysis Services.

   <Batch Transaction="Boolean" ProcessAffectedObjects="Boolean">
      <!-- One or more XMLA commands -->



Data type and length


Default value



0-n: Optional element that can occur more than once.




(Optional Boolean attribute) Indicates whether all objects that require reprocessing will be processed.

If set to true, the Analysis Services instance processes any objects that require reprocessing as a result of processing an object included in the Batch command.

If set to false, the Analysis Services instance processes only those objects included in the Batch command.


(Optional Boolean attribute) Indicates whether the command included in the Batch command are treated as a single transaction or individual transactions.

If set to true, all of the commands included in the Batch command are considered a single transaction. If any command fails, the commands executed prior to the failed command are rolled back, and the Batch command stops without executing subsequent commands.

If set to false, the Batch command attempts to execute every command, and commits the results of each command that completes successfully.


Command/Execute/Statement is currently not supported in a Batch operation.

For more information about performing batch operations in XMLA, see Performing Batch Operations (XMLA).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft