-2

how to delete multiple SSAS database using XMLA script

if possible please post me with syntax

1
  • What did you try? Did you consult the documentation for the syntax? Commented Jun 2, 2015 at 8:06

1 Answer 1

3

You can combine multiple XMLA commands in a batch tag, try something like this:

<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine" Transaction="true">
<Delete xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
      <Object> 
          <DatabaseID>DB1</DatabaseID>
      </Object>
</Delete>
<Delete xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
     <Object> 
         <DatabaseID>DB2</DatabaseID>
     </Object>
</Delete>
</Batch>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.