We are using SQL jobs to deploy SSAS models deployed in UAT server to production server. Two steps we are currently following are:
- Sync model of UAT to production.
- Process (full) the production model.
Now we want to add another step where we take the backup of the "create or replace to" script of production ssas model before it is synced with UAT model. Is it possible to do this via SQL job? If not what other feasible option do we have?
I have tried the profiler trace to see what code is running behind when we right click and generate the create script but it wasn't helpful. Any tips or guidance appreciated.