Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8aaac1d

Browse files
authored
SQL Server Management Studio 22 GA (#658)
1 parent 6b9cf44 commit 8aaac1d

43 files changed

Lines changed: 392 additions & 582 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.ssms.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@
8484
"source_path": "ssms/menu-help/options-environment-help-online-page.md",
8585
"redirect_url": "/ssms/menu-help/options-environment-general-page",
8686
"redirect_document_id": false
87+
},
88+
{
89+
"source_path": "ssms/release-notes-22-preview.md",
90+
"redirect_url": "/ssms/release-notes.md",
91+
"redirect_document_id": false
92+
},
93+
{
94+
"source_path": "ssms/known-issues-preview.md",
95+
"redirect_url": "/ssms/known-issues.md",
96+
"redirect_document_id": false
97+
},
98+
{
99+
"source_path": "ssms/install/install-preview.md",
100+
"redirect_url": "/ssms/install/install.md",
101+
"redirect_document_id": false
87102
}
88103
]
89104
}

ssms/TOC.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ items:
2020
- name: Installation and support
2121
items:
2222
- name: Release notes
23-
href: release-notes-21.md
24-
- name: Release notes SSMS 22 Preview
25-
href: release-notes-22-preview.md
23+
href: release-notes-22.md
2624
- name: Known issues
2725
href: known-issues.md
28-
- name: Known issues SSMS 22 Preview
29-
href: known-issues-preview.md
3026
- name: Product roadmap
3127
href: roadmap.md
3228
- name: System requirements
@@ -35,8 +31,6 @@ items:
3531
items:
3632
- name: Download and install
3733
href: install/install.md
38-
- name: Download and install SSMS 22 Preview
39-
href: install/install-preview.md
4034
- name: Select installation location
4135
href: install/select-install-location.md
4236
- name: Install with command-line parameters
@@ -69,6 +63,8 @@ items:
6963
href: release-history.md
7064
- name: Previous releases
7165
items:
66+
- name: Release notes 21
67+
href: release-notes-21.md
7268
- name: Release notes 20
7369
href: release-notes-20.md
7470
- name: Release notes 19 and earlier
@@ -92,12 +88,16 @@ items:
9288
href: github-copilot/chat.md
9389
- name: Chat context
9490
href: github-copilot/chat-context.md
91+
- name: AI models
92+
href: github-copilot/ai-models.md
9593
- name: Account
9694
items:
9795
- name: Install GitHub Copilot in SSMS
9896
href: github-copilot/installation-state.md
9997
- name: Use GitHub Copilot for free
10098
href: github-copilot/free-plan.md
99+
- name: Manage usage and models
100+
href: github-copilot/usage-models.md
101101
- name: Scenarios
102102
href: github-copilot/scenarios.md
103103
- name: Best practices

ssms/github-copilot/ai-models.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: AI Models
3+
titleSuffix: GitHub Copilot in SQL Server Management Studio (Preview)
4+
description: Learn how to select different models in the GitHub Copilot Chat experience in SQL Server Management Studio (SSMS).
5+
author: erinstellato-ms
6+
ms.author: erinstellato
7+
ms.reviewer: randolphwest
8+
ms.date: 11/11/2025
9+
ms.service: sql-server-management-studio
10+
ms.topic: how-to
11+
ms.collection:
12+
- ce-skilling-ai-copilot
13+
ms.update-cycle: 180-days
14+
# CustomerIntent: As a database administrator or database developer, I want to understand how to use GitHub Copilot Chat in SQL Server Management Studio.
15+
---
16+
# Get started with AI models in the GitHub Copilot Chat experience in SQL Server Management Studio (Preview)
17+
18+
With [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)], GitHub Copilot in SSMS uses GPT-4.1 as the default model to provide fast response times, high-quality suggestions, and improve efficiency for coding tasks.
19+
20+
However, you're not limited to using this model. You can also select a different model that best fits your requirements.
21+
22+
## Available models
23+
24+
Choose from a curated set of models in the model picker:
25+
26+
- GPT-5
27+
- Claude Sonnet 3.5
28+
- Claude Sonnet 4
29+
- Claude Sonnet 4.5
30+
- Claude Haiku 4.5
31+
- Gemini 2.5 Pro
32+
- GPT-4.1
33+
- GPT-5 mini
34+
- GPT-4o
35+
36+
Model selection capabilities include:
37+
38+
- Persistent selection: The model that you choose remains selected across chat threads.
39+
40+
- Ability to enable models directly: If a model is available in your plan but not yet enabled, you see a prompt in the model picker to activate it.
41+
42+
- Model availability depends on your Copilot subscription and the current status of each model. For Copilot Enterprise and Business, administrators must enable the Preview policy in Copilot settings before models are available in SSMS.
43+
44+
## Related content
45+
46+
- [AI model comparison](https://docs.github.com/copilot/reference/ai-models/model-comparison)
47+
- [Requests in GitHub Copilot](https://docs.github.com/copilot/concepts/billing/copilot-requests#premium-requests)
48+
- [GitHub Copilot billing](https://docs.github.com/copilot/concepts/billing/billing-for-individuals)
49+
- [GitHub support](https://support.github.com/request/landing)
50+
- [Manage Copilot usage and models in SQL Server Management Studio (Preview)](usage-models.md)

ssms/github-copilot/chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use the GitHub Copilot Chat experience in SQL Server M
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/30/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: how-to
1111
ms.collection:
@@ -44,7 +44,7 @@ GitHub Copilot Chat provides AI assistance to help you make informed decisions a
4444

4545
## Prerequisites
4646

47-
To use GitHub Copilot Chat in SSMS, you need SSMS 22 (Preview) or higher, and a GitHub account with [Copilot access](https://docs.github.com/copilot/get-started/what-is-github-copilot#getting-access-to-copilot). Otherwise, you can use [Use GitHub Copilot for free in SQL Server Management Studio (Preview)](free-plan.md).
47+
To use GitHub Copilot Chat in SSMS, you need SSMS 22 or a later version, and a GitHub account with [Copilot access](https://docs.github.com/copilot/get-started/what-is-github-copilot#getting-access-to-copilot). Otherwise, you can use [Use GitHub Copilot for free in SQL Server Management Studio (Preview)](free-plan.md).
4848

4949
## Use Copilot Chat in SSMS
5050

ssms/github-copilot/free-plan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use GitHub Copilot for free in SQL Server Management S
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/14/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: how-to
1111
ms.collection:
@@ -24,7 +24,7 @@ To get started with Copilot Free in SSMS, you need:
2424
- [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)]
2525
- [GitHub Copilot in SQL Server Management Studio (Preview)](installation-state.md)
2626

27-
[!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)] is the preview version of SQL Server Management Studio (SSMS). For information related to SSMS 22 installation, see [Install SQL Server Management Studio Preview](../install/install-preview.md).
27+
For information related to SSMS 22 installation, see [Install SQL Server Management Studio](../install/install.md).
2828

2929
## Get started with Copilot Free in SSMS
3030

ssms/github-copilot/get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to get started using GitHub Copilot in SQL Server Managem
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/14/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: how-to
1111
ms.collection:
@@ -23,9 +23,9 @@ In this article, you learn how to use GitHub Copilot and make the most of its fe
2323

2424
## Open GitHub Copilot
2525

26-
Use of GitHub Copilot requires SSMS 22 Preview 3 or a later version. You should update to the latest version of SSMS to access the latest updates and features.
26+
Use of GitHub Copilot requires [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)] or a later version. You should update to the latest version of SSMS to access the latest updates and features.
2727

28-
1. Open SSMS 22 and connect to a server or database in the query editor window.
28+
1. Open SSMS and connect to a server or database in the query editor window.
2929

3030
1. Select the **GitHub Copilot** badge in the upper right corner of SSMS, and select **Open Chat Window to Sign In**.
3131

ssms/github-copilot/installation-state.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to install GitHub Copilot in SQL Server Management Studio
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/14/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: how-to
1111
ms.collection:
@@ -23,8 +23,7 @@ To use GitHub Copilot in SSMS, you need:
2323

2424
- [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)]
2525
- A GitHub account with [Copilot access](https://docs.github.com/copilot/get-started/what-is-github-copilot#getting-access-to-copilot)
26-
27-
[!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)] is the preview version of SQL Server Management Studio (SSMS). For information related to SSMS 22 installation, see [Install SQL Server Management Studio Preview](../install/install-preview.md).
26+
- For information related to SSMS 22 installation, see [Install SQL Server Management Studio](../install/install.md).
2827

2928
## Install GitHub Copilot in SSMS using the Visual Studio Installer
3029

@@ -38,7 +37,7 @@ To use GitHub Copilot in SSMS, you need:
3837

3938
## Manage your GitHub Copilot state
4039

41-
With SSMS 22 Preview 3 and later versions, there's a GitHub Copilot status icon in the upper-right corner of SSMS that indicates if GitHub Copilot is active, inactive, unavailable, or not installed. Using the dropdown menu from the status icon, you can easily access options that help manage or troubleshoot your Copilot state. Some options are available or grayed out depending on your Copilot state.
40+
In [!INCLUDE [ssms-22-md](../includes/ssms-22-md.md)] and later versions, a GitHub Copilot status icon in the upper-right corner of SSMS indicates whether GitHub Copilot is active, inactive, unavailable, or not installed. Using the dropdown menu from the status icon, you can easily access options that help manage or troubleshoot your Copilot state. Some options are available or grayed out depending on your Copilot state.
4241

4342
### GitHub Copilot is active
4443

ssms/github-copilot/overview.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Overview of GitHub Copilot in SQL Server Management Studio (SSMS).
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/14/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: how-to
1111
ms.collection:
@@ -23,7 +23,7 @@ GitHub Copilot in SSMS can answer questions for databases in SQL Server, Azure S
2323

2424
## How GitHub Copilot works in SSMS
2525

26-
GitHub Copilot in SSMS uses your GitHub account with [Copilot access](https://docs.github.com/copilot/get-started/what-is-github-copilot#getting-access-to-copilot). The integration currently uses GPT-4.1, and GitHub Copilot in SSMS sends your prompts to the model. The model generates the response and sends it back to SSMS. GitHub Copilot in SSMS might send additional information about the version of SQL to which you're connected, or information about your database, along with your prompt to help improve the response.
26+
GitHub Copilot in SSMS uses your GitHub account with [Copilot access](https://docs.github.com/copilot/get-started/what-is-github-copilot#getting-access-to-copilot). The integration allows you to select a model, and GitHub Copilot in SSMS sends your prompts to the model. The model generates the response and sends it back to SSMS. GitHub Copilot in SSMS might send additional information about the version of SQL to which you're connected, or information about your database, along with your prompt to help improve the response.
2727

2828
## Features of GitHub Copilot in SSMS
2929

@@ -57,7 +57,6 @@ Here are the current limitations of GitHub Copilot in SSMS:
5757
- GitHub Copilot might produce inaccurate results when the intent is to evaluate data.
5858
- GitHub Copilot responses can include inaccurate or low-quality content, so review outputs before using them in your work.
5959
- People who can meaningfully evaluate the content's accuracy and appropriateness should review the outputs.
60-
- GitHub Copilot in SSMS doesn't currently support selecting a different model.
6160
- GitHub Copilot doesn't currently support exporting the chat.
6261
- GitHub Copilot doesn't currently support Agent mode.
6362

ssms/github-copilot/scenarios.md

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about example scenarios for GitHub Copilot in SQL Server Mana
55
author: erinstellato-ms
66
ms.author: erinstellato
77
ms.reviewer: randolphwest
8-
ms.date: 10/14/2025
8+
ms.date: 11/11/2025
99
ms.service: sql-server-management-studio
1010
ms.topic: concept-article
1111
ms.collection:
@@ -80,43 +80,9 @@ In addition to asking Copilot for help with writing a query, you can ask for ass
8080
- `Take the inner query and change it to select customer ID, customer name, and total spent and order it by total spent descending`
8181
- `I forgot I want to include the state where the company is located in the output, please update the query to add that`
8282

83-
## Approve queries for Copilot to execute
84-
85-
By default, Copilot runs in a read-only mode. Copilot only executes queries that read data. However, you can change the mode to **Read/Write with Approval** using the `/rwa` command in the chat.
86-
87-
1. Change the mode:
88-
89-
```copilot-prompt
90-
/rwa
91-
```
92-
93-
1. Ask Copilot to update statistics that are out of date:
94-
95-
```copilot-prompt
96-
Update statistics that are out of date
97-
```
98-
99-
1. Provide more details to Copilot so it can perform the correct analysis:
100-
101-
```copilot-prompt
102-
List the name of statistics that haven't been updated in over a week that have more than 10% data changed for all tables in the database
103-
```
104-
105-
1. Copilot lists the statistics, and asks if you want to update them. If it doesn't ask, you can tell it to update the statistics.
106-
107-
1. Copilot provides the T-SQL for the update, and gives the option to select **Run** or **Cancel**.
108-
109-
1. Select **Run** to have Copilot update statistics.
110-
11183
## Use Copilot for database development
11284

113-
Copilot can help you quickly develop objects in your database in the **Read/Write** mode. To enable **Read/Write** mode, use the `/rw` command.
114-
115-
1. Change the mode:
116-
117-
```copilot-prompt
118-
/rw
119-
```
85+
Copilot can help you quickly develop objects in your database.
12086

12187
1. Ask Copilot to create a set of tables for the database:
12288

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: Manage Usage and Models
3+
titleSuffix: GitHub Copilot in SQL Server Management Studio (Preview)
4+
description: Learn how to manage model use in the GitHub Copilot Chat experience in SQL Server Management Studio (SSMS).
5+
author: erinstellato-ms
6+
ms.author: erinstellato
7+
ms.reviewer: randolphwest
8+
ms.date: 11/11/2025
9+
ms.service: sql-server-management-studio
10+
ms.topic: how-to
11+
ms.collection:
12+
- ce-skilling-ai-copilot
13+
ms.update-cycle: 180-days
14+
# CustomerIntent: As a database administrator or database developer, I want to understand how to use GitHub Copilot Chat in SQL Server Management Studio.
15+
---
16+
# Manage Copilot usage and models in SQL Server Management Studio (Preview)
17+
18+
GitHub Copilot includes built-in tools to help you track usage, manage your plan, and understand how model selection affects [request consumption](https://docs.github.com/copilot/concepts/billing/copilot-requests).
19+
20+
## View Copilot usage
21+
22+
To track your Copilot usage:
23+
24+
1. Select the Copilot badge in the top-right corner of SQL Server Management Studio (SSMS).
25+
26+
1. To view the Copilot Usage dialog, select **Copilot Usage**.
27+
28+
1. The dialog shows current use and the number of remaining requests. You can select **Get more requests** to manage your Copilot spend on [GitHub](https://github.com/settings/billing/budgets).
29+
30+
> [!NOTE]
31+
> GitHub manages billing and subscriptions. For more information, see your [GitHub settings](https://github.com/settings/billing/summary).
32+
33+
## Understand model selection
34+
35+
GitHub Copilot supports multiple AI models, and each model might consume requests at different rates based on assigned [multipliers](https://docs.github.com/copilot/concepts/billing/copilot-requests#model-multipliers).
36+
37+
To view or change your current model:
38+
39+
1. Open the chat window from the Copilot badge, or **View** > **GitHub Copilot Chat**.
40+
1. To select a model, use the model picker dropdown list above the input field.
41+
42+
When your [premium request quota](https://docs.github.com/copilot/get-started/plans#comparing-copilot-plans) is exhausted, Copilot automatically falls back to a base model so you can continue working without interruption.
43+
44+
> [!TIP]
45+
> Visit your [Copilot settings on GitHub](https://github.com/settings/copilot/features) to explore model options and subscription details.
46+
47+
## Related content
48+
49+
- [AI model comparison](https://docs.github.com/copilot/reference/ai-models/model-comparison)
50+
- [Requests in GitHub Copilot](https://docs.github.com/copilot/concepts/billing/copilot-requests#premium-requests)
51+
- [GitHub Copilot billing](https://docs.github.com/copilot/concepts/billing/billing-for-individuals)
52+
- [GitHub support](https://support.github.com/request/landing)
53+
- [Get started with GitHub Copilot in SQL Server Management Studio (Preview)](get-started.md)

0 commit comments

Comments
 (0)