You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Instructions/Labs/06-optimize-database-performance.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,11 @@ First, create an Azure SQL Database with sample data.
47
47
|**Subscription**| Select your Azure subscription. |
48
48
|**Resource group**| Select or create a resource group. |
49
49
|**Database name**|*AdventureWorksLT*|
50
-
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. You should use **Use Microsoft Entra-only authentication** for more secure access, or **Use both SQL and Microsoft Entra authentication**/**SQL authentication** with an admin sign in and password, but note that *Microsoft Entra-only authentication* is recommended. Select **OK**. |
50
+
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. For authentication, select one of the following options and then select **OK**: |
51
+
52
+
> 📝**Authentication is not optional** — you must choose the method that matches your organization's security policies. Each option affects how you connect to the database later:
53
+
> -**Use Microsoft Entra-only authentication***(recommended)*: Select this if your organization requires Entra-based access. Set your Azure account as the **Microsoft Entra admin**. You connect to the database using your Microsoft Entra account (for example, in SSMS select *Authentication* = **Microsoft Entra MFA**).
54
+
> -**Use both SQL and Microsoft Entra authentication/SQL authentication**: Select this if you prefer a SQL admin login or your organization allows both methods. Provide a **Server admin login** and **Password** — you need these credentials to connect. You can also set a **Microsoft Entra admin** to enable Entra logins alongside SQL auth.
51
55
52
56
> 📝 If you already have a test server you can use, select it instead of creating a new one.
53
57
@@ -73,6 +77,12 @@ First, create an Azure SQL Database with sample data.
73
77
The AdventureWorksLT sample database has product and customer data, but its tables are small. You need a larger table to produce meaningful execution plans and query statistics. In this section, you create an `OrderHistory` table with 80,000 rows that simulates a year of order data.
74
78
75
79
1. Connect to your Azure SQL Database using SSMS.
80
+
81
+
> 💡**How to connect** depends on which authentication method your organization supports and was configured during server creation:
82
+
> -**Microsoft Entra authentication**: Set *Authentication* to **Microsoft Entra MFA** and sign in with your Azure account.
83
+
> -**SQL authentication**: Enter the **Server admin login** and **Password** you specified during server creation, with *Authentication* set to **SQL Login**.
84
+
>
85
+
> In both cases, set the **Server name** to `<your-server-name>.database.windows.net` and the **Database** to **AdventureWorksLT**.
76
86
1. Run the following script to create and populate the `OrderHistory` table:
Copy file name to clipboardExpand all lines: Instructions/Labs/07-implement-cicd-sql-database-projects.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,11 @@ First, create an Azure SQL Database with sample data.
51
51
|**Subscription**| Select your Azure subscription. |
52
52
|**Resource group**| Select or create a resource group. |
53
53
|**Database name**|*AdventureWorksLT*|
54
-
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. You should use **Use Microsoft Entra-only authentication** for more secure access, or **Use both SQL and Microsoft Entra authentication**/**SQL authentication** with an admin sign in and password, but note that *Microsoft Entra-only authentication* is recommended. Select **OK**. |
54
+
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. For authentication, select one of the following options and then select **OK**: |
55
+
56
+
> 📝**Authentication is not optional** — you must choose the method that matches your organization's security policies. Each option affects how you connect to the database later:
57
+
> -**Use Microsoft Entra-only authentication***(recommended)*: Select this if your organization requires Entra-based access. Set your Azure account as the **Microsoft Entra admin**. You connect to the database using your Microsoft Entra account (for example, in SSMS select *Authentication* = **Microsoft Entra MFA**).
58
+
> -**Use both SQL and Microsoft Entra authentication/SQL authentication**: Select this if you prefer a SQL admin login or your organization allows both methods. Provide a **Server admin login** and **Password** — you need these credentials to connect. You can also set a **Microsoft Entra admin** to enable Entra logins alongside SQL auth.
55
59
56
60
> 📝 If you already have a test server you can use, select it instead of creating a new one.
Copy file name to clipboardExpand all lines: Instructions/Labs/09-generate-update-embedings-sql.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,13 @@ First, create an Azure SQL Database with sample data.
47
47
|**Subscription**| Select your Azure subscription. |
48
48
|**Resource group**| Select or create a resource group. |
49
49
|**Database name**|*AdventureWorksLT*|
50
-
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. You should use **Use Microsoft Entra-only authentication** for more secure access, or **Use both SQL and Microsoft Entra authentication**/**SQL authentication** with an admin sign in and password, but note that *Microsoft Entra-only authentication* is recommended. Select **OK**. |
50
+
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. For authentication, select one of the following options and then select **OK**: |
51
+
52
+
> 📝**Authentication is not optional** — you must choose the method that matches your organization's security policies. Each option affects how you connect to the database later:
53
+
> -**Use Microsoft Entra-only authentication***(recommended)*: Select this if your organization requires Entra-based access. Set your Azure account as the **Microsoft Entra admin**. You connect to the database using your Microsoft Entra account (for example, in SSMS select *Authentication* = **Microsoft Entra MFA**).
54
+
> -**Use both SQL and Microsoft Entra authentication/SQL authentication**: Select this if you prefer a SQL admin login or your organization allows both methods. Provide a **Server admin login** and **Password** — you need these credentials to connect. You can also set a **Microsoft Entra admin** to enable Entra logins alongside SQL auth.
55
+
>
56
+
> The authentication method you choose here controls how *you* connect to the database as a developer. It is separate from how Azure SQL connects to Azure OpenAI, which is configured later in the lab.
51
57
52
58
> 📝 If you already have a test server you can use, select it instead of creating a new one.
53
59
@@ -132,7 +138,13 @@ Since Azure SQL Database uses a system-assigned managed identity to authenticate
132
138
133
139
The AdventureWorksLT sample database contains product information but no customer reviews. In this step, you download and run a script that creates a **ProductReview** table with 140 realistic reviews across many product categories. These reviews provide the text data that you generate embeddings for in this exercise.
134
140
135
-
1. Connect to your Azure SQL Database using Visual Studio Code or SQL Server Management Studio.
141
+
1. Connect to your Azure SQL Database using Visual Studio Code (with the SQL Server extension) or SQL Server Management Studio.
142
+
143
+
> 💡**How to connect** depends on which authentication method your organization supports and was configured during server creation:
144
+
> -**Microsoft Entra authentication**: In SSMS, set *Authentication* to **Microsoft Entra MFA** and sign in with your Azure account. In VS Code, select the **Microsoft Entra ID** authentication type when creating a connection profile.
145
+
> -**SQL authentication**: In SSMS or VS Code, enter the **Server admin login** and **Password** you specified during server creation, with *Authentication* set to **SQL Login**.
146
+
>
147
+
> In both cases, set the **Server name** to `<your-server-name>.database.windows.net` and the **Database** to **AdventureWorksLT**.
136
148
1. Download the review script from [**product-reviews-insert.sql**](https://raw.githubusercontent.com/MicrosoftLearning/mslearn-sql-developer/main/Allfiles/product-reviews-insert.sql) and save it locally.
137
149
1. Open the downloaded file and run the entire script against your **AdventureWorksLT** database.
138
150
1. Verify the table was created and populated by running:
Copy file name to clipboardExpand all lines: Instructions/Labs/10-implement-intelligent-search.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,13 @@ First, create an Azure SQL Database with sample data.
48
48
|**Subscription**| Select your Azure subscription. |
49
49
|**Resource group**| Select or create a resource group. |
50
50
|**Database name**|*AdventureWorksLT*|
51
-
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. You should use **Use Microsoft Entra-only authentication** for more secure access, or **Use both SQL and Microsoft Entra authentication**/**SQL authentication** with an admin sign in and password, but note that *Microsoft Entra-only authentication* is recommended. Select **OK**. |
51
+
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. For authentication, select one of the following options and then select **OK**: |
52
+
53
+
> 📝**Authentication is not optional** — you must choose the method that matches your organization's security policies. Each option affects how you connect to the database later:
54
+
> -**Use Microsoft Entra-only authentication***(recommended)*: Select this if your organization requires Entra-based access. Set your Azure account as the **Microsoft Entra admin**. You connect to the database using your Microsoft Entra account (for example, in SSMS select *Authentication* = **Microsoft Entra MFA**).
55
+
> -**Use both SQL and Microsoft Entra authentication/SQL authentication**: Select this if you prefer a SQL admin login or your organization allows both methods. Provide a **Server admin login** and **Password** — you need these credentials to connect. You can also set a **Microsoft Entra admin** to enable Entra logins alongside SQL auth.
56
+
>
57
+
> The authentication method you choose here controls how *you* connect to the database as a developer. It is separate from how Azure SQL connects to Azure OpenAI, which is configured later in the lab.
52
58
53
59
> 📝 If you already have a test server you can use, select it instead of creating a new one.
54
60
@@ -133,7 +139,13 @@ Since Azure SQL Database uses a system-assigned managed identity to authenticate
133
139
134
140
The AdventureWorksLT sample database contains product information but no customer reviews. In this step, you download and run a script that creates a **ProductReview** table with 140 realistic reviews across many product categories. These reviews provide rich text data to search through using full-text, vector, and hybrid search.
135
141
136
-
1. Connect to your Azure SQL Database using Visual Studio Code or SQL Server Management Studio.
142
+
1. Connect to your Azure SQL Database using Visual Studio Code (with the SQL Server extension) or SQL Server Management Studio.
143
+
144
+
> 💡**How to connect** depends on which authentication method your organization supports and was configured during server creation:
145
+
> -**Microsoft Entra authentication**: In SSMS, set *Authentication* to **Microsoft Entra MFA** and sign in with your Azure account. In VS Code, select the **Microsoft Entra ID** authentication type when creating a connection profile.
146
+
> -**SQL authentication**: In SSMS or VS Code, enter the **Server admin login** and **Password** you specified during server creation, with *Authentication* set to **SQL Login**.
147
+
>
148
+
> In both cases, set the **Server name** to `<your-server-name>.database.windows.net` and the **Database** to **AdventureWorksLT**.
137
149
1. Download the review script from [**product-reviews-insert.sql**](https://raw.githubusercontent.com/MicrosoftLearning/mslearn-sql-developer/main/Allfiles/product-reviews-insert.sql) and save it locally.
138
150
1. Open the downloaded file and run the entire script against your **AdventureWorksLT** database.
139
151
1. Verify the table was created and populated by running:
Copy file name to clipboardExpand all lines: Instructions/Labs/11-implement-rag-solutions.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,13 @@ First, create an Azure SQL Database with sample data.
48
48
|**Subscription**| Select your Azure subscription. |
49
49
|**Resource group**| Select or create a resource group. |
50
50
|**Database name**|*AdventureWorksLT*|
51
-
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. You should use **Use Microsoft Entra-only authentication** for more secure access, or **Use both SQL and Microsoft Entra authentication**/**SQL authentication** with an admin sign in and password, but note that *Microsoft Entra-only authentication* is recommended. Select **OK**. |
51
+
|**Server**| Select **Create new** and create a new server with a unique name. Select your **Location**. For authentication, select one of the following options and then select **OK**: |
52
+
53
+
> 📝**Authentication is not optional** — you must choose the method that matches your organization's security policies. Each option affects how you connect to the database later:
54
+
> -**Use Microsoft Entra-only authentication***(recommended)*: Select this if your organization requires Entra-based access. Set your Azure account as the **Microsoft Entra admin**. You connect to the database using your Microsoft Entra account (for example, in SSMS select *Authentication* = **Microsoft Entra MFA**).
55
+
> -**Use both SQL and Microsoft Entra authentication/SQL authentication**: Select this if you prefer a SQL admin login or your organization allows both methods. Provide a **Server admin login** and **Password** — you need these credentials to connect. You can also set a **Microsoft Entra admin** to enable Entra logins alongside SQL auth.
56
+
>
57
+
> The authentication method you choose here controls how *you* connect to the database as a developer. It is separate from how Azure SQL connects to Azure OpenAI, which is configured later in the lab.
52
58
53
59
> 📝 If you already have a test server you can use, select it instead of creating a new one.
54
60
@@ -133,7 +139,13 @@ Since Azure SQL Database uses a system-assigned managed identity to authenticate
133
139
134
140
The AdventureWorksLT sample database contains product information but no customer reviews. In this step, you download and run a script that creates a **ProductReview** table with 140 realistic reviews across many product categories. These reviews give the RAG solution rich, varied content to search through.
135
141
136
-
1. Connect to your Azure SQL Database using Visual Studio Code or SQL Server Management Studio.
142
+
1. Connect to your Azure SQL Database using Visual Studio Code (with the SQL Server extension) or SQL Server Management Studio.
143
+
144
+
> 💡**How to connect** depends on which authentication method your organization supports and was configured during server creation:
145
+
> -**Microsoft Entra authentication**: In SSMS, set *Authentication* to **Microsoft Entra MFA** and sign in with your Azure account. In VS Code, select the **Microsoft Entra ID** authentication type when creating a connection profile.
146
+
> -**SQL authentication**: In SSMS or VS Code, enter the **Server admin login** and **Password** you specified during server creation, with *Authentication* set to **SQL Login**.
147
+
>
148
+
> In both cases, set the **Server name** to `<your-server-name>.database.windows.net` and the **Database** to **AdventureWorksLT**.
137
149
1. Download the review script from [**product-reviews-insert.sql**](https://raw.githubusercontent.com/MicrosoftLearning/mslearn-sql-developer/main/Allfiles/product-reviews-insert.sql) and save it locally.
138
150
1. Open the downloaded file and run the entire script against your **AdventureWorksLT** database.
139
151
1. Verify the table was created and populated by running:
0 commit comments