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: docs/azure-data-studio/extensions/sql-database-project-extension-sdk-style-projects.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,21 +14,21 @@ ms.date: 5/24/2022
14
14
15
15
# Using SDK-style SQL projects with the SQL Database Projects extension (Preview)
16
16
17
-
This article introduces [Microsoft.Build.Sql](https://www.nuget.org/packages/Microsoft.Build.Sql) for SDK-style SQL projects in the SQL Database Projects extension in Azure Data Studio or VS Code. SDK-style SQL projects especially advantageous for applications shipped through pipelines or built in cross-platform environments. The initial announcement is available in [TechCommunity](https://techcommunity.microsoft.com/t5/azure-sql-blog/microsoft-build-sql-the-next-frontier-of-sql-projects/ba-p/3290628).
17
+
This article introduces [Microsoft.Build.Sql](https://www.nuget.org/packages/Microsoft.Build.Sql) for SDK-style SQL projects in the SQL Database Projects extension in Azure Data Studio or VS Code. SDK-style SQL projects are especially advantageous for applications shipped through pipelines or built in cross-platform environments. The initial announcement is available in [TechCommunity](https://techcommunity.microsoft.com/t5/azure-sql-blog/microsoft-build-sql-the-next-frontier-of-sql-projects/ba-p/3290628).
18
18
19
19
## Create an SDK-style database project
20
20
21
21
### Blank project
22
22
23
23
In the **Projects** view, select the **New Project** button and enter a project name in the text input that appears. In the "Select a Folder" dialog that appears, select a directory for the project's folder, `.sqlproj` file, and other contents to reside in.
24
24
25
-
By default the selection for **SDK-style project (Preview)** is checked. When the dialog is completed the empty project is opened and visible in the **Projects** view for editing.
25
+
By default the selection for **SDK-style project (Preview)** is checked. When the dialog is completed, the empty project is opened and visible in the **Projects** view for editing.
26
26
27
27
### From an existing database
28
28
29
29
In the **Project** view, select the **Import Project from Database** button and connect to a SQL Server. Once the connection is established, select a database from the list available databases and set the name of the project. Select a target structure of the extraction.
30
30
31
-
By default the selection for **SDK-style project (Preview)** is checked. When the dialog is completed the new project is opened and contains SQL scripts for the contents of the selected database.
31
+
By default the selection for **SDK-style project (Preview)** is checked. When the dialog is completed, the new project is opened and contains SQL scripts for the contents of the selected database.
32
32
33
33
## Build and publish
34
34
@@ -40,7 +40,7 @@ To build an SDK-style SQL project from the command line on Windows, macOS, or Li
40
40
dotnet build /p:NetCoreBuild=true
41
41
```
42
42
43
-
The dacpac resulting from building an SDK-style SQL project is compatible with tooling associated with dacpac actions, including [SqlPackage](../../tools/sqlpackage/sqlpackage-publish.md).
43
+
The `.dacpac` resulting from building an SDK-style SQL project is compatible with tooling associated with the data-tier application framework (`.dacpac`, `.bacpac`), including [SqlPackage](../../tools/sqlpackage/sqlpackage-publish.md).
Copy file name to clipboardExpand all lines: docs/tools/visual-studio-code/mssql-extensions-vscode.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.date: 5/24/2022
12
12
13
13
# mssql extension for Visual Studio Code
14
14
15
-
This article introduces the **mssql** extension for Visual Studio Code (VS Code) to work with SQL Server and Azure SQL databases on Windows, macOS, and Linux. The [mssql extension for Visual Studio Code](https://aka.ms/mssql-marketplace) provides querying capabilities for Azure SQL and SQL Server as well as additional features for developers with SQL Projects and SQL bindings for Azure Functions. The mssql extension for VS Code includes the [SQL Database Projects extension](../../azure-data-studio/extensions/sql-database-project-extension.md) with support for SQL projects on Windows, macOS, and Linux.
15
+
This article introduces the **mssql** extension for Visual Studio Code (VS Code) to work with SQL Server and Azure SQL databases on Windows, macOS, and Linux. The [mssql extension for Visual Studio Code](https://aka.ms/mssql-marketplace) provides querying capabilities for Azure SQL and SQL Server as well as additional features for developers with SQL Projects and SQL bindings for Azure Functions. The mssql extension for VS Code includes the [SQL Database Projects extension](../../azure-data-studio/extensions/sql-database-project-extension.md).
16
16
17
17
18
18
## Functionality overview
@@ -29,14 +29,15 @@ The following functionality is available in the mssql extension for VS Code:
29
29
- Create Azure Functions with [SQL bindings](https://aka.ms/sqlbindings)
30
30
31
31
32
-
### Azure Data Studio and mssql extension comparison
32
+
### Comparing Azure Data Studio and the mssql extension
33
33
34
34
Both [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md) and the mssql extension for VS Code are available for Windows, macOS, and Linux.
35
35
36
36
Benefits of working with Azure SQL and SQL Server in VS Code include:
37
37
38
38
- single code editor for your SQL and other code (such as C#, Python, JavaScript, Java, PHP, and Go)
39
39
- broad extension marketplace with extensions for remote development, Docker, and more
40
+
- available for use in GitHub Codespaces
40
41
41
42
42
43
You might consider using Azure Data Studio in addition to the mssql extension for VS Code if you would benefit from these capabilities:
@@ -45,6 +46,7 @@ You might consider using Azure Data Studio in addition to the mssql extension fo
45
46
- graphical table designer and query plans
46
47
- schema comparison for databases, SQL projects, and dacpacs
47
48
- extensions for SQL Agent, SQL Profiler, and Flat File Import
49
+
- SQL and .NET Interactive notebooks
48
50
49
51
## Install the mssql extension in VS Code
50
52
@@ -74,10 +76,10 @@ The mssql extension for VS Code is supported on Windows, macOS, and Linux. The
74
76
75
77
## SQL Tools Service
76
78
77
-
The mssql extension automatically installs the [SQL Tools Service](https://github.com/microsoft/sqltoolsservice), an open source .NET-based API that provides services to several SQL tools, including [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md) and the mssql extension for VS Code. SQL Tools Service provides features such as common language service operations (IntelliSense auto-complete suggestions, peek definition, SQL error diagnostics, quickinfo hovers), connection management, and query execution. The source code for SQL Tools Service is availabe on [GitHub](https://github.com/microsoft/sqltoolsservice).
79
+
The mssql extension automatically installs the [SQL Tools Service](https://github.com/microsoft/sqltoolsservice), an open source .NET-based API that provides services to several SQL tools, including [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md) and the mssql extension for VS Code. SQL Tools Service provides features such as common language service operations (IntelliSense auto-complete suggestions, peek definition, SQL error diagnostics, quickinfo hovers), connection management, and query execution. The source code for SQL Tools Service is available on [GitHub](https://github.com/microsoft/sqltoolsservice).
78
80
79
81
80
82
## Next steps
81
83
-[Use the mssql extension to query a SQL instance](sql-server-develop-use-vscode.md)
82
84
-[Learn more about Visual Studio Code](https://code.visualstudio.com/docs)
83
-
-[Learn more about contributing to the mssql extension](https://github.com/Microsoft/vscode-mssql/wiki)
85
+
-[Learn more about contributing to the mssql extension](https://github.com/Microsoft/vscode-mssql/wiki)
0 commit comments