dbTalk Databases Forums  

How can I rename a database-name in analysis-manager? (newbee-question?)

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


Discuss How can I rename a database-name in analysis-manager? (newbee-question?) in the microsoft.public.sqlserver.olap forum.



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

Default How can I rename a database-name in analysis-manager? (newbee-question?) - 11-23-2005 , 02:35 PM






maybe it is easy but I havn´t found it...
thanks for you help!

Christian



Reply With Quote
  #2  
Old   
manoj.kancharla@gmail.com
 
Posts: n/a

Default Re: How can I rename a database-name in analysis-manager? (newbee-question?) - 11-23-2005 , 02:58 PM






I don't think you can rename a DB. However, you can create a copy of it
(Copy...Paste). It prompts you to give the new DB a different name,
when you do the paste.

Christian wrote:
Quote:
maybe it is easy but I havn´t found it...
thanks for you help!

Christian


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

Default Re: How can I rename a database-name in analysis-manager? (newbee-question?) - 11-23-2005 , 03:22 PM



AS Operations Guide
http://www.microsoft.com/technet/pro.../anservog.mspx
discusses this.
--
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.


"Christian" <christian.freydl (AT) mehrdata (DOT) com> wrote

Quote:
maybe it is easy but I havn´t found it...
thanks for you help!

Christian





Reply With Quote
  #4  
Old   
Steve G
 
Posts: n/a

Default RE: How can I rename a database-name in analysis-manager? (newbee-ques - 11-24-2005 , 03:01 AM



AS2000 is lacking many DDL type operations that you get with RDBMS's. It
doesn't give you a function to rename a db (even in DSO), which is a right
pain if you want to do operations like building offline, and then swapping
db's. Also, if you copy and paste a db, the data doesn't get copied, just the
definition.

If you've got the nerve for it, you can rename a db though, as follows (best
to try this on a non-critical db first because it involves manual repository
changes which, if wrongly applied, could blow up your AS2000):


1. Shut down the MSSQLServerOLAPService service.

2. Open the OlapObjects table of the repository. If your repository is an
..mdb file (default) then it'll typically be in c:\program files\microsoft
analysis services\bin\msmdrep.mdb. You can open it with MS Access.

3. In the OlapObjects table, find the record where ObjectName is the name of
your db, and the ClassType column is 2. Change the ObjectName to be the new
database name. You must also change the database name in the ObjectDefinition
column where you see <DATABASE Name="<old db name>" .... change the old db
name to the new one.

4. Find the data directory of the db you want to change. By default this
would typically be c:\program files\microsoft analysis services\data\<old db
name> . You must rename the data directory from the old db name to the new
name.

5. Find the .odb file. By default this would typically be c:\program
files\microsoft analysis services\data\<old db name>.odb . You must rename
this .odb file to the new name of the db.

6. Start the MSSQLServerOLAPService and your olap db will have appear with
the new name. Easy (!)


You try that at your own risk.





"Christian" wrote:

Quote:
maybe it is easy but I havn´t found it...
thanks for you help!

Christian




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.