Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
Using an ASSL Script

In SQL Server Management Studio, the CREATE To option of the Script Database As command creates an XML script of an entire Microsoft SQL Server Analysis Services database or one of its constituent objects. The resulting script can then be run on another computer to recreate the schema (metadata) of the Analysis Services database. The script generates the entire database, and there is no mechanism for incrementally updating already deployed objects when using the script. After running the script and deploying the database, the newly created database must be processed before users can browse it.

For more information about the Script Database As command, see Documenting and Scripting an Analysis Services Database.

When using the Script Database As command, you cannot modify specific properties (such as the database name, data source connection strings, and security settings) of the database objects. These properties must either be manually modified in the script after the script has been generated or modified in the deployed database after running the script.

ms175406.note(en-us,SQL.100).gifImportant:
The XML script will not contain the password if this is specified in either the connection string for a data source or for impersonation purposes. Since the password is required for processing purposes in this scenario, you will either need to add this manually to the XML script before it executes or add it after the XML script executes.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker