Exercise - Migrate a SQL Server database to Azure SQL Database

Youngmi Roh 20 Reputation points
2023-12-19T02:33:22.2066667+00:00

Hi, where should I practice "Exercise - Migrate a SQL Server database to Azure SQL Database" on?

https://learn.microsoft.com/en-us/training/modules/migrate-sql-workloads-azure-sql-databases/8-exercise-migrate-sql-database

it requires to restore a backup db file to SQL 2019. I don't have the backup file and SQL 2019.

--

Thank you for the answers.

I installed SQL2019 Developer. and try to install SSMS but it requires .net installed.

try to install .net on my Windows 10. it said "The .NET Framework 4.7.2 redistributable does not apply to this operating system. Please download the .NET Framework 4.7.2 for your operating system from the Microsoft Download Center"

I downloaded and tried to install ndp48-x86-x64-allos-enu.exe. but it says the same message. "The .NET Framework 4.8 redistributable does not apply to this operating system. Please download the .NET Framework 4.8 for your operating system from the <A HREF="http://go.microsoft.com/fwlink/?LinkId=2053894">Microsoft Download Center</A>.

"








Azure Azure Training
{count} votes

Accepted answer
  1. TP 124.7K Reputation points Volunteer Moderator
    2023-12-19T03:31:18.83+00:00

    Hi Youngmi,

    You can download/install SQL Server 2022 Developer Edition on your local windows machine and use that for the exercise. Please navigate to below page and click Download now button under the Developer edition.

    https://www.microsoft.com/en-us/sql-server/sql-server-downloads

    You will also need an Azure subscription to complete the exercise.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. pnaroju 3,165 Reputation points Microsoft External Staff
    2023-12-19T10:40:43.9433333+00:00

    Hi Youngmi Roh,

    Thank you for reaching out to us on Microsoft Q&A forum.

    Just checking in to see if you have got a chance to see the previous response by TP in resolving the issue.

    In order to start the "Exercise - Migrate a SQL Server database to Azure SQL Database", we need the following items as mentioned in the link below along with Azure subscription to create Azure resources:

    https://microsoftlearning.github.io/mslearn-sql-migration/Instructions/Labs/03-migrate-sql-server-workloads-azure-sql-database.html

    SQLSS2

    As highlighted in the screenshot we need to first install in our local PC,

    1. An instance of SQL Server 2019 or a newer version (as mentioned by TP) as Source server along with SQL Server Management Studio (SSMS) and
    2. The lightweight AdventureWorks database on the SQL Server instance installed in point 1 as Source database.

    To get the lightweight Adventureworks database file (i.e., sample database backup file) follow the below mentioned steps:

    a) Click on the "Adventureworks" link available in the source database as highlighted in the screenshot above.

    b) Under the 'Download backup files', click on "[] Expand table" to see the Lightweight sample databases.

    c) Click on 'AdventureWorksLT2019.bak'(for example) link to download the sample database backup file to our local PC.

    d) Next under 'Restore to SQL Server', we need to follow the steps as mentioned in SQL Server Management Studio (SSMS) tab to restore our sample database file (for example: AdventureWorksLT2019.bak) to our SQL Server instance installed in point 1.

    Now we can follow the steps as mentioned in the link:

    https://microsoftlearning.github.io/mslearn-sql-migration/Instructions/Labs/03-migrate-sql-server-workloads-azure-sql-database.html

    starting from 'Restore a SQL Server database' to complete the "Exercise - Migrate a SQL Server database to Azure SQL Database".

    Please find the screenshot attached here for reference after successfully restoring the sample database backup file to a SQL Server instance as mentioned in 'Restore a SQL Server database.'

    SQLSS3

    If you are still running into issues, please let us know in the comments. We are happy to assist you.

    If the answer has been helpful in resolving the issue, please consider accepting the answer by clicking on "Accept answer" button to help increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.