Frage
What is the way in TSQL to run the XMLA code to process a cube
XMLA:
<Process xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Object>
<DatabaseID>Adventure Works DW</DatabaseID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
Lösung
I use this way:
- Create a new Job in SQL and put the XMLA statement in a SQL Server Analisys Services Command
- Execute this job from your sp with:
exec msdb.dbo.sp_start_job
'Job Name'
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow