The final category contains hosts that allow you to connect to their SQL Server over the Internet.
This enables you to use tools like SQL Server Management Studio to connect to the database at your
host right from your desktop and execute the SQL scripts remotely. Refer to the first exercise in the
section “Using SQL to Work with Database Data” of Chapter 12 to learn more about executing
SQL files against a database using SSMS.
After your database is re-created at your target server, you need to reconfigure your ASP.NET
application to use the new database by changing the connection strings in your website. For this
to work, you need to modify two connection strings: the PlanetWroxConnectionString1 and the
PlanetWroxEntities you created in an earlier chapter. How your connection string must look
depends on the database you are using and its configuration. Your hosting company or database
administrator typically provides this information. For many examples of proper connection strings,
check out www.connectionstrings.com. The following snippet provides a simple example that
reconfigures your application to use a database server called DatabaseServer. This example shows
a connection string for a SQL Server that requires you to log in with a username and password (in
your configuration file, each connection string should be on a single line)