Back to all blogs3 min read
Migrate Local SQL Server Database to Azure SQL Database
Moving a local SQL Server database to Azure SQL Database is quite straightforward.
Ankush Jain
Lead Software Engineer (VP) | Software Architect
Published Dec 26, 2020Updated Nov 24, 2026
Moving a local SQL Server database to Azure SQL Database is quite straightforward.
Pre-requisites: Before you move your local database, make sure you have created a Logical SQL Server on Azure already. Because we will be creating a copy of this local database on that Logical SQL Server.
Follow these simple steps:
- Open SQL Server Management Studio, right-click on the database, and select Tasks >> Deploy Database to Microsoft Azure SQL DatabaseMoving Local SQL Server Database to Azure SQL Database
- Click on the Connect button to establish a server connection with your Azure Database. Moving Local SQL Server Database to Azure SQL Database
- Enter your Azure SQL Database Server Name, Login & Password in the popup window. Moving Local SQL Server Database to Azure SQL Database
- After the successful connection, select the Service Tier (Compute Size) and Storage Size for your database and then click Next. Refer to this link for more details - Service tiers in the DTU-based purchase model. Moving Local SQL Server Database to Azure SQL Database
- Wait for the operation to complete. This may take longer depending on the size of the database. Moving Local SQL Server Database to Azure SQL Database
That's all !!