views:

34

answers:

2

I want to rename my SALES cube to SALES_2009 and put a new cube called SALES. When I rename it, the ID remains as SALES so my new cube now is called SALES, but it's internal ID is SALES_2010 (and my old cube is called SALES_2009, but the internal ID is SALES).

Can the ID of a SSAS database be changed?

I have tried the properties window and googled bing, but to no avail.

+1  A: 

You could backup and restore with new name - http://richardlees.blogspot.com/2009/05/new-analysis-services-database-version.html but there isn't any way to alter the databaseid AFAIK

ekoner
A: 

In the past I've scripted the cube as a create statement to a new window, changed the IDs to what I needed, dropped the old cube & run the create script. It works, but seems a bit risky.

Meff
I will have to reprocess all cubs in the database afterwards.
Raj More
Yes, that's true - It is a destructive operation but I don't believe there's any other way to do this, as per the answer above.
Meff