dbTalk Databases Forums  

Rename database

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


Discuss Rename database in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tiago Rente
 
Posts: n/a

Default Rename database - 08-09-2005 , 07:57 AM






Hi,

How to rename a database mantaining the data in the cubes?

Thanks in advance.

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

Default Re: Rename database - 08-09-2005 , 06:44 PM






With SQL2K, the only way is to copy and paste the database (using AM). On
the paste operation, the system will notice that the database aleady exists
and prompt you for a new name. After the paste succeeds you can then full
reprocess.

A similar activity with SQL2K5 would be to script out the database
definition (just right-click on SSMS and select "Script -> Create", then
edit the XMLA file to be a different database, hit Execute, and then full
reprocess.

Coming in SQL2K5 RTM (not in any of the current CTP's, but in more recent
builds), you can backup and then restore the database. On the restore, you
can specify a different database name and you get the data back w/o
reprocessing.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Tiago Rente" <TiagoRente (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

How to rename a database mantaining the data in the cubes?

Thanks in advance.



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.