Presentation on theme: "Using T-sql scripts. Migrating Sql Database to SQL Azure Database Create the Test Database In SQL Server Management Studio, on the File menu, point to."— Presentation transcript:
Migrating Sql Database to SQL Azure Database In Set Scripting Options, set the following options: Set Output Type as Save script to a specific location. Select Save to file. ClickSingle file. Type the file name and location in File name. Click Advanced.
Migrating Sql Database to SQL Azure Database In Advanced Scripting Options set “Script for the database engine type” option as “SQL Azure Database”, set “Convert UDDTs to Base Types” option as “True”, and set “Types of data to script” option as “Schema and data”. Click OK.
Migrating Sql Database to SQL Azure Database Migrating mydb database to SQL Azure SQL Connect to SQL Azure through SQL Server Management Studio or SQL Azure Management Portal by providing the credentials of SQL Server created in Windows Azure Cloud platform.
Migrating Sql Database to SQL Azure Database Create the mydb database on the SQL Database server through the Windows Azure Platform Management Portal or by executing the following Transact-SQL command: CREATE DATABASE mydb