The SQL Database Publishing wizard is in Visual Studio 2008:
Step 1: Create a new website by selecting menu File ->New Web Site.
Switch to Server Explorer and add a
new Data connection and connect to a
database. In this case we will use the
Northwind database that comes with SQL
Express. You should point to the
database you want to publish.
Step 2: Select Northwind.dbo node in Server explorer and right
click to bring up the context menu. In
the Context menu you have a “Publish
to provider…” option.
Ref.
You should be able point to a database
on your local machine, and then
automatically create a .SQL script
file that contains the setup logic
needed to re-create a replica of the
database on any remote system – for
example an external hosting system.
This .SQL script includes everything
needed to create the database schema
(tables, views, sprocs, triggers,
full-text catalogs, roles, rules,
etc). You also have the option of
populating the new database with the
same data contents as your local
tables.
Most hosters today support the upload
and running of .SQL files to their
hosted environments using their admin
control panels. So, all you need to do
is upload and run the .SQL script
generated by the Database Publishing
Wizard, and you will have a working
database in your hosted environment.