Επεξεργασία

Κοινή χρήση μέσω


Rename a Multidimensional Database (Analysis Services)

Applies to: SQL Server Analysis Services Azure Analysis Services Fabric/Power BI Premium

The manner in which you change the name of a Microsoft SQL Server SQL Server Analysis Services database depends upon how you connect to the SQL Server Analysis Services database. To change the name of an existing database, you must connect in online mode. To change the name of the database into which objects in an SQL Server Analysis Services project will be instantiated, you must connect in project mode.

To change the database name in online mode

  1. Using SQL Server Data Tools, connect directly to the SQL Server Analysis Services database.

  2. In Solution Explorer, right-click the database and then click Edit Database.

  3. In the Database name text box, change the database name.

  4. Click Save or Save All on the toolbar, click Save Selected Items or Save All on the File menu, or close the Database Designer and then click Save when prompted.

    The database name is updated in the SQL Server Analysis Services instance and the database object in Solution Explorer is refreshed.

To change the database name in project mode

  1. Open the SQL Server Analysis Services project.

  2. In Solution Explorer, right-click the SQL Server Analysis Services project and then click Properties.

  3. In the Property Pages dialog box, click Deployment in the Configuration Properties section.

  4. Change the Database property to the new database name.

    The next time the SQL Server Analysis Services project is deployed, it will be deployed to this new database name. If this database already exists, it will be overwritten.

To change the database name using SQL Server Management Studio

  • Right-click the SQL Server Analysis Services database and edit the Name property.

See Also

Server properties in Analysis Services
Set Multidimensional Database Properties (Analysis Services)
Configure Analysis Services Project Properties (SSDT)
Deploy Analysis Services Projects (SSDT)