Skip to content

Commit 61b9d29

Browse files
authored
Merge pull request #49329 from JulianePadrao/update-schedule-tasks-using-sql-server-agent
Updates to schedule-tasks-using-sql-server-agent
2 parents cd686d7 + f995763 commit 61b9d29

11 files changed

+75
-72
lines changed

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/1-introduction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Introduction
88
description: "Introduction"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/2-create-maintenance-plan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Create a SQL Server maintenance plan
88
description: "Create a SQL Server maintenance plan"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/3-describe-task-status-notifications.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Describe task status notifications
88
description: "Describe task status notifications"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/4-exercise-create-cpu-status-alert.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: 'Exercise: Create a CPU status alert for a SQL Server'
88
description: "Exercise: Create a CPU status alert for a SQL Server"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/5-knowledge-check.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Knowledge check
88
description: "Knowledge check"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false
@@ -22,43 +22,43 @@ quiz:
2222
choices:
2323
- content: "A mail profile"
2424
isCorrect: true
25-
explanation: "That's correct. To send email to an operator, you need to enable the email profile of the SQL Server Agent."
25+
explanation: "Correct. To send email to an operator, you need to enable the email profile of the SQL Server Agent."
2626
- content: "An agent job"
2727
isCorrect: false
28-
explanation: "That's incorrect. An agent job doesn't in and of itself send mail."
28+
explanation: "Incorrect. An agent job doesn't in and of itself send mail."
2929
- content: "An alert"
3030
isCorrect: false
31-
explanation: "That's incorrect. While an alert can send an email, it isn't a requirement for mail to be sent."
31+
explanation: "Incorrect. While an alert can send an email, it isn't a requirement for mail to be sent."
3232
- content: "Which system database stores SQL Server Agent jobs and their information?"
3333
choices:
3434
- content: "Msdb"
3535
isCorrect: true
36-
explanation: "That's correct. The msdb database acts as the data store for the SQL Server Agent."
36+
explanation: "Correct. The msdb database acts as the data store for the SQL Server Agent."
3737
- content: "Master"
3838
isCorrect: false
39-
explanation: "That's incorrect. The master database stores information about logins and databases."
39+
explanation: "Incorrect. The master database stores information about logins and databases."
4040
- content: "Model"
4141
isCorrect: false
42-
explanation: "That's incorrect. The model database is used to provide a database to copy for new database creation."
42+
explanation: "Incorrect. The model database is used to provide a database to copy for new database creation."
4343
- content: "Which operation recalculates the statistics on an index?"
4444
choices:
4545
- content: "Rebuild"
4646
isCorrect: true
47-
explanation: "That's correct. Rebuilding an index updates the statistics on the index."
47+
explanation: "Correct. Rebuilding an index updates the statistics on the index."
4848
- content: "Reorganize"
4949
isCorrect: false
50-
explanation: "That's incorrect. Reorganize rearranges pages, but doesn't calculate statistics."
50+
explanation: "Incorrect. Reorganize rearranges pages, but doesn't calculate statistics."
5151
- content: "Shrinking a file group"
5252
isCorrect: false
53-
explanation: "That's incorrect. Shrinking a file group doesn't have an impact on stats."
53+
explanation: "Incorrect. Shrinking a file group doesn't affect stats."
5454
- content: "What built-in option removes old files related to maintenance plans?"
5555
choices:
5656
- content: "Cleanup history task"
5757
isCorrect: false
58-
explanation: "That's incorrect. The cleanup history task deletes history of backup and restore operations from the msdb database and the history of SQL Server agent jobs."
58+
explanation: "Incorrect. The cleanup history task deletes history of backup and restore operations from the msdb database and the history of SQL Server agent jobs."
5959
- content: "Maintenance cleanup task"
6060
isCorrect: true
61-
explanation: "That's correct. The maintenance cleanup task provides the option to remove old files related to maintenance plans."
61+
explanation: "Correct. The maintenance cleanup task provides the option to remove old files related to maintenance plans."
6262
- content: "Execute SQL Server agent job task"
6363
isCorrect: false
64-
explanation: "That's incorrect. The execute SQL Server agent job task doesn't remove old files related to maintenance plans."
64+
explanation: "Incorrect. The execute SQL Server agent job task doesn't remove old files related to maintenance plans."

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/6-summary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Summary
88
description: "Summary"
9-
ms.date: 05/11/2022
10-
author: wwlpublish
9+
ms.date: 02/26/2025
10+
author: JulianePadrao
1111
ms.author: jupadrao
1212
ms.topic: unit
1313
azureSandbox: false

learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/includes/1-introduction.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
Database systems need regular maintenance, which includes tasks like making backups and updating statistics. Maintenance may also include regularly scheduled jobs that execute against a database. Some common examples of these jobs would be to extract, transform, and load data from a transaction processing system into a data warehouse. In SQL Server and Azure SQL managed instance, the SQL Server Agent service allows you to schedule jobs to perform these maintenance tasks.
1+
Database systems require regular maintenance, including tasks like backups and updating statistics. Maintenance may also involve scheduled jobs that run against a database. Common examples include extracting, transforming, and loading data from a transaction processing system into a data warehouse. In SQL Server and Azure SQL Managed Instance, the SQL Server Agent service allows you to schedule these maintenance tasks.
22

3-
One of the ways you can benefit from Azure is using the built-in resource monitoring that the platform provides. You can also take advantage of the options that the Azure platform offers for handling and responding to events.
3+
Azure offers built-in resource monitoring, and you can also use the platform's options for handling and responding to events, enhancing your ability to maintain and manage your database systems effectively.
4+
5+
Most SQL Server Agent features are supported in Azure SQL Managed Instance, but there are some minor T-SQL differences between SQL Server and Azure SQL Managed Instance that might affect job scripts.
46

57
## Learning objectives
68

7-
At the end of this module, you will understand:
9+
At the end of this module, you'll understand:
810

911
- What maintenance activities you should perform on your databases
1012
- How to configure notifications and alerts on SQL Server Agent jobs and SQL Server

0 commit comments

Comments
 (0)