翻篇收录说明
翻篇网页快照

data-tools/ssms/github-copilot/get-started.md at main · MicrosoftDocs/data-tools · GitHub

https://github.com/MicrosoftDocs/data-tools/blob/main/ssms/github-copilot/get-started.md

最近抓取:2026-12-03 02:19:46(北京时间)

最近内容变化:2026-11-29 19:00:33(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Contribute to MicrosoftDocs/data-tools development by creating an account on GitHub.

正文摘录

Filesmainget-started.mdBlameBlame Latest commit HistoryHistory63 lines (40 loc) · 3.9 KBmainget-started.mdTopFile metadata and controlsPreviewCodeBlame63 lines (40 loc) · 3.9 KBRaw title Get Started titleSuffix GitHub Copilot in SQL Server Management Studio description Learn how to get started using GitHub Copilot in SQL Server Management Studio (SSMS). author mbarickman ms.author mbarickman ms.reviewer mahyon ms.date 05/19/2026 ms.service sql-server-management-studio ms.topic how-to ms.collection ce-skilling-ai-copilot ms.update-cycle 180-days Get started with GitHub Copilot in SQL Server Management Studio GitHub Copilot is an AI assistant in SQL Server Management Studio (SSMS). GitHub Copilot helps you write Transact-SQL (T-SQL) faster and more accurately by suggesting queries, edits, answers, and administrator tasks directly in your SSMS environment. In this article, you learn how to use GitHub Copilot and make the most of its features in SSMS. Open GitHub Copilot GitHub Copilot requires [!INCLUDE ssms-22-md] or a later version. Update to the latest version of SSMS to access the latest updates and features. Open SSMS and connect to a server or database in the query editor window. Select the GitHub Copilot badge in the upper right corner of SSMS, and select Open Chat Window to Sign In. :::image type="content" source="media/sign-in.png" alt-text="Screenshot of GitHub Copilot badge options."::: If GitHub Copilot isn't installed, select Install Copilot from the GitHub Copilot badge, or open the Visual Studio Installer and modify your SSMS installation to add the AI Assistance workload. For more information, see Install GitHub Copilot in SQL Server Management Studio. In the Chat window, sign in with your existing GitHub account or select Sign up for Copilot Free. Follow the prompts in your browser to complete the sign-in or sign-up process. Once the process is complete, return to SSMS to start using Copilot. Use GitHub Copilot After you sign in, use the Chat window to interact with your database using natural language. You can ask general questions about SQL, questions specific to a database, or get assistance writing or editing T-SQL. Chat: Use the Chat window or inline chat to ask questions about your database, get T-SQL help, and generate code. For more information, see Use the GitHub Copilot Chat experience in SQL Server Management Studio. Code Completions: As you write T-SQL, Copilot provides suggestions directly in the editor. Copilot suggests both new code (shown as gray text) and edits to existing code. For more information, see Use Completions in SQL Server Management Studio. Next Edit Suggestions: Copilot anticipates your next edit based on recent changes and suggests revisions in context. For more information, see Use Next Edit Suggestions in SQL Server Management Studio. Database instructions: Store business rules and context directly in your database so Copilot can generate more accurate responses. For more information, see Use database instructions with GitHub Copilot in SQL Server Management Studio. To review Copilot features at any time, select GitHub Copilot Walkthrough from the GitHub Copilot badge in the upper right corner of SSMS. Support Support for GitHub Copilot Chat is provided by GitHub. To learn more about Copilot's security, privacy, compliance, and transparency, see the GitHub Copilot Trust Center FAQ and Responsible use of GitHub Copilot features. Related content Use GitHub Copilot for free in SQL Server Management Studio Troubleshoot GitHub Copilot in SQL Server Management Studio