I have created a database with objects. Now, I need to push this database to the external world. How can I achieve it?
SQL Server is providing a very nice option of publishing the database objects using scripting the entire database + publishing to the external database through internet.
Let's see how can we achieve it,
After creating your objects, right click on the database and click tasks ->Publish using webservice option.

You will get the Publish database wizard
On clicking the check box "Publish all objects in the selected database" you wont get the below window. By default, it will select all the objects and bypass the below window.
In the previous window, I have selected tables. So the next window will list down all the tables available in the database.
Now, we need to select the target database. Database, where we need to push the schema and data. If we have already registered the database, we can select it or else click "Manage" button.

You will get the hosting providers window -> remove the default loaded one and click new button. You will get a window to register the destination server.

You should give the webserive address provided by the provider and the credentials to access this secure webservice.
On clicking the "Ok" button. the next window will start creating the scripts in the source and try to connect and execute the same in the destination database.
On clicking next button -> Summary of all the actions done by us in the previous windows will be displayed.
On clicking finish button. Fetching the scripts from the source -> connect to the remote server -> Execute in the remote server.
Cheers,
Venkatesan Prabu .J

1 comment:
How do I get the publish database wizard for mssql 2008?
Post a Comment