Use the SQL Publishing Wizard

Learning Resources
 

Use the SQL Publishing Wizard


The SQL Server Database Publishing Wizard provides a way to publish databases to T-SQL scripts or directly to supporting hosting service providers.

SQL Server Database Publishing Wizard enables the deployment of SQL Server databases into a hosted environment on either a SQL Server 2000 or 2005 server. It generates a single SQL script file which can be used to recreate a database (both schema and data) in a shared hosting environment where the only connectivity to a server is through a web-based control panel with a script execution window. If supported by the hosting service provider, the Database Publishing Wizard can also directly upload databases to servers located at the shared hosting provider.

Optionally, SQL Server Database Publishing Wizard can integrate directly into Visual Studio 2005 and/or Visual Web Developer 2005 allowing easy publishing of databases from within the development environment.

The Database Publishing Wizard in Visual Studio enables you to deploy a SQL Server database (both schema and data) to a hosting environment. You can run the wizard by right-clicking a database in Server Explorer and then clicking Publish to provider.

The tool supports the following ways to deploy a database:

  • It can generate a single SQL script file that you can manually run on the target server to re-create the database schema and the database contents.

  • It can connect to a Web service that is provided by your hosting provider and directly copy the contents of a source database into a target database. If you want to use this method, verify that your hosting provider supports connections from the Database Publishing Wizard.

--Microsoft
 For Support