dbTalk Databases Forums  

datasource after restore

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


Discuss datasource after restore in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Klaus Wiesel
 
Posts: n/a

Default datasource after restore - 03-24-2006 , 08:28 AM






Hello

Under SQL Server 2000 SP4 / Analysis Services I try to move an
analysis database from server A to server B.
On server A, I want to process data which comes from a SQL Server
database C, on server B the name of the (identically structured)
database is D.

How can I do this?

After restoring from a CAB file the data source may be changed but it
must be buried somewhere else in the database

Do I have to use a special provider to avoid this?

Regards
Klaus Wiesel

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

Default Re: datasource after restore - 03-24-2006 , 10:42 AM






If you need it interactively, just edit the data source using Analysis
Manager.

If you need it programmatically, write a VB script which uses DSO to edit
the data source.
A sample VB script that use DSO, look at the AS Operations Guide, here
http://www.microsoft.com/technet/pro.../anservog.mspx
(Appendix H, I and J)
It doesn't have one that edits the data source, but it does other DSO
operations so you can use it to jumpstart your work.

--
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.


"Klaus Wiesel" <klaus.wiesel (AT) infor (DOT) com> wrote

Quote:
Hello

Under SQL Server 2000 SP4 / Analysis Services I try to move an
analysis database from server A to server B.
On server A, I want to process data which comes from a SQL Server database
C, on server B the name of the (identically structured) database is D.

How can I do this?

After restoring from a CAB file the data source may be changed but it must
be buried somewhere else in the database

Do I have to use a special provider to avoid this?

Regards
Klaus Wiesel



Reply With Quote
  #3  
Old   
Klaus Wiesel
 
Posts: n/a

Default Re: datasource after restore - 03-26-2006 , 07:08 AM



Hi

as described, I have a problem just editing the datasource - it is
somewhere inside because I cannot process a cube after editing it - the
old datasource is still in there...

Regards
Klaus

Dave Wickert [MSFT] wrote:
Quote:
If you need it interactively, just edit the data source using Analysis
Manager.

If you need it programmatically, write a VB script which uses DSO to edit
the data source.
A sample VB script that use DSO, look at the AS Operations Guide, here
http://www.microsoft.com/technet/pro.../anservog.mspx
(Appendix H, I and J)
It doesn't have one that edits the data source, but it does other DSO
operations so you can use it to jumpstart your work.


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.