Migrate from SQL Server to Azure SQL Database
To Migrate a Database from SQL Server to Azure SQL Database, follow these steps:
- Ensure to have already provisioned an Azure SQL Database
- Install and Run the latest version of SQL Server Management Studio and connect to the Azure SQL Database
- In SQL Server Management Studio (SSMS), right-click on the SQL Server database that needs to be migrated, then click Tasks, and finally click on Deploy Database to Microsoft Azure SQL Database
- In the Deploy Database Wizard, click Next, then click Connect to connect to the target / destination SQL Database.
- Enter the credentials to connect to the target / destination Azure SQL Server.
- Fill in details to specify the following fields:
- New database name
- Edition of Microsoft Azure SQL Database
- Maximum database size (GB)
- Service Objective
- File name for the temporary BACPAC
- Complete the Wizard
- Once the wizard has completed, the new (“target”) Database will be created as a copy of the Source Database.
Reference link:
https://www.sqlshack.com/migrate-an-on-premises-sql-server-database-to-the-azure-sql-database/