dbTalk Databases Forums  

AS2005 - Changing data source

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss AS2005 - Changing data source in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jesse O
 
Posts: n/a

Default AS2005 - Changing data source - 02-13-2006 , 11:57 AM






Is there any way to assign a data source depending on what deployment
configuration is being used?

I find myself just changing it manually, would like to do it automatically
somehow.

TIA,

Jesse.



Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: AS2005 - Changing data source - 02-14-2006 , 02:01 PM






XMLA scripting. Using SSMS, right click on your data source, then script out
an ALTER XMLA script. It is a text file which can be modified to change
server and database names.

To execute the script you can use any one of 4 options:
1) SSMS allows you to execute it interactively
2) SQL Agent jobs had a new "step" type which is an XMLA script -- thus a
SQL Agent job could execute it
3) SSIS packages have an "Execute Analysis Services DDL task" which executes
an XMLA script
4) Coming in about April or May (WR2 Samples MSI) will be a new sample
utility called ascmd which is a command-line utility for executing XMLA
scripts. If you would like to be included in the beta, send me an email and
I'll forward it to the right people.

Hope that helps.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Jesse O" <jesperzz (AT) hotmail (DOT) com> wrote

Quote:
Is there any way to assign a data source depending on what deployment
configuration is being used?

I find myself just changing it manually, would like to do it automatically
somehow.

TIA,

Jesse.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.