Download presentation
Presentation is loading. Please wait.
Published byEsther Hamilton Modified over 9 years ago
1
Using T-sql scripts
2
Migrating Sql Database to SQL Azure Database Create the Test Database In SQL Server Management Studio, on the File menu, point to New, and then clickDatabase Engine Query.
4
Migrating Sql Database to SQL Azure Database In the Connect to Database Engine dialog box, enter the information for your local SQL Server instance, and then click Connect.
6
Migrating Sql Database to SQL Azure Database Paste the Transact-SQL script at the end of this topic in the query window and then clickExecute.
7
Migrating Sql Database to SQL Azure Database Create the Transact-SQL Script In Object Explorer, right-click the mydb database, point to Tasks, and select Generate Scripts.
9
Migrating Sql Database to SQL Azure Database In the Generate and Publish Scripts Wizard dialog box, click Next to get to theChoose Objects step.
11
Migrating Sql Database to SQL Azure Database Select Script entire database and all database objects, and then click Next.
13
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.
15
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.
19
Migrating Sql Database to SQL Azure Database Click Next
21
Migrating Sql Database to SQL Azure Database Click Next
23
Migrating Sql Database to SQL Azure Database Click Finish
25
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.
27
Migrating Sql Database to SQL Azure Database In SQL Server Management Studio, on the File menu, point to New, and then click QueryWithCurrentConnection
29
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
32
Migrating Sql Database to SQL Azure Database In SQL Server Management Studio, on the File menu, point to Open, and then click File.
34
Migrating Sql Database to SQL Azure Database Click Execute.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.