Skip to content

Commit 352c8b1

Browse files
Merge pull request #29954 from dzsquared/sqlpackage-162_2
sqlpackage 162.2
2 parents 2b02411 + b213782 commit 352c8b1

6 files changed

Lines changed: 110 additions & 50 deletions

docs/tools/sqlpackage/release-notes-sqlpackage.md

Lines changed: 81 additions & 30 deletions
Large diffs are not rendered by default.

docs/tools/sqlpackage/sqlpackage-deploy-drift-report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ SqlPackage {parameters}{properties}{SQLCMD Variables}
142142
|**/p:**|IncludeTransactionalScripts=(BOOLEAN)|Specifies whether transactional statements should be used where possible when you publish to a database.|
143143
|**/p:**|LongRunningCommandTimeout=(INT32 '0')| Specifies the long running command timeout in seconds when executing queries against SQL Server. Use 0 to wait indefinitely.|
144144
|**/p:**|NoAlterStatementsToChangeClrTypes=(BOOLEAN)|Specifies that publish should always drop and re-create an assembly if there is a difference instead of issuing an ALTER ASSEMBLY statement. |
145+
|**/p:**|PerformIndexOperationsOnline=(BOOLEAN 'False')|Specifies whether to perform index operations online during deployment.|
145146
|**/p:**|PopulateFilesOnFileGroups=(BOOLEAN 'True')|Specifies whether a new file is also created when a new FileGroup is created in the target database. |
146147
|**/p:**|RegisterDataTierApplication=(BOOLEAN)|Specifies whether the schema is registered with the database server.
147148
|**/p:**|RunDeploymentPlanExecutors=(BOOLEAN)|Specifies whether DeploymentPlanExecutor contributors should be run when other operations are executed.|

docs/tools/sqlpackage/sqlpackage-download.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Download and Install SqlPackage for Windows, macOS, or Linux"
44
author: "dzsquared"
55
ms.author: "drskwier"
66
ms.reviewer: "maghan"
7-
ms.date: 1/9/2024
7+
ms.date: 2/27/2024
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: conceptual
@@ -17,9 +17,9 @@ ms.custom:
1717

1818
SqlPackage runs on Windows, macOS, and Linux, and is available to install through `dotnet tool` or as a standalone zip download.
1919

20-
- **Version number:** 162.1.172
21-
- **Build number:** 162.1.172.1
22-
- **Release date:** January 9, 2024
20+
- **Version number:** 162.2.111
21+
- **Build number:** 162.2.111.2
22+
- **Release date:** February 27, 2024
2323

2424
For details about the latest release, see the [release notes](release-notes-sqlpackage.md).
2525

@@ -54,25 +54,31 @@ To uninstall SqlPackage, run the following command:
5454

5555
### Preview releases
5656

57-
Preview releases of SqlPackage are available with the dotnet tool feed. To install a preview release, use the `--version` option with the `dotnet tool install` command. For example, to install version 162.2.82-preview of SqlPackage, run the following command:
57+
Preview releases of SqlPackage are available with the dotnet tool feed. To access preview releases, use the `--prerelease` option with the `dotnet tool` command. For example, to install the latest preview release, run the following command:
5858

5959
```bash
60-
dotnet tool install -g microsoft.sqlpackage --version 162.2.82-preview
60+
dotnet tool install -g --prerelease microsoft.sqlpackage
6161
```
6262

63-
The dotnet tool `update` command won't update to a preview release. To update to a preview release, use the `--version` option with the `dotnet tool install` command. A list of releases is available on the [dotnet tool feed](https://www.nuget.org/packages/microsoft.sqlpackage/).
63+
To update SqlPackage to the latest preview version, run the following command:
64+
65+
```bash
66+
dotnet tool update -g --prerelease microsoft.sqlpackage
67+
```
68+
69+
A list of preview releases is available on the [dotnet tool feed for SqlPackage](https://www.nuget.org/packages/microsoft.sqlpackage/).
6470

6571

66-
## Installation, zip download (alternative)
72+
## Installation, file download (alternative)
6773

6874
SqlPackage is also prepared as a self-contained download for Windows, macOS, and Linux. No .NET install is required, however, the dependencies included in this .zip download are updated more frequently in the dotnet tool option for SqlPackage. The following links are for the latest version of SqlPackage:
6975

7076
|Platform|Download|
7177
|:---|:---|
72-
|Windows .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2257374)|
73-
|Windows|[MSI Installer](https://go.microsoft.com/fwlink/?linkid=2257373)|
74-
|macOS .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2257375)|
75-
|Linux .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2257477)|
78+
|Windows .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2261576)|
79+
|Windows|[.msi file](https://go.microsoft.com/fwlink/?linkid=2262108)|
80+
|macOS .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2261849)|
81+
|Linux .NET 6 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2261577)|
7682

7783

7884
### Linux
@@ -219,17 +225,17 @@ SqlPackage runs on Windows, macOS, and Linux and is built using .NET 6. The [.NE
219225

220226
This release of SqlPackage can be installed in the following languages:
221227

222-
SqlPackage .NET 6 Windows:
223-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2257374&clcid=0x40a)
228+
SqlPackage .NET 8 Windows:
229+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2261576&clcid=0x40a)
224230

225231
SqlPackage .NET Framework Windows:
226-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2257373&clcid=0x40a)
232+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2262108&clcid=0x40a)
227233

228-
SqlPackage .NET 6 macOS:
229-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2257375&clcid=0x40a)
234+
SqlPackage .NET 8 macOS:
235+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2261849&clcid=0x40a)
230236

231-
SqlPackage .NET 6 Linux:
232-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2257477&clcid=0x40a)
237+
SqlPackage .NET 8 Linux:
238+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2261577&clcid=0x40a)
233239

234240

235241
## Next Steps

docs/tools/sqlpackage/sqlpackage-publish.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ SqlPackage /at:$($AccessToken_Object.Token) /Action:Publish /SourceFile:"C:\Adve
216216
|**/p:**|IsAlwaysEncryptedParameterizationEnabled=(BOOLEAN 'False')|Enables variable parameterization on Always Encrypted columns in pre/post deployment scripts.|
217217
|**/p:**|LongRunningCommandTimeout=(INT32 '0')|Specifies the long running command timeout in seconds when executing queries against SQL Server. Use 0 to wait indefinitely.|
218218
|**/p:**|NoAlterStatementsToChangeClrTypes=(BOOLEAN 'False')|Specifies that publish should always drop and re-create an assembly if there is a difference instead of issuing an ALTER ASSEMBLY statement.|
219+
|**/p:**|PerformIndexOperationsOnline=(BOOLEAN 'False')|Specifies whether to perform index operations online during deployment.|
219220
|**/p:**|PopulateFilesOnFileGroups=(BOOLEAN 'True')|Specifies whether a new file is also created when a new FileGroup is created in the target database.|
220221
|**/p:**|PreserveIdentityLastValues=(BOOLEAN 'False')|Specifies whether last values for identity columns should be preserved during deployment.|
221222
|**/p:**|RebuildIndexesOfflineForDataPhase=(BOOLEAN 'False')|Rebuild indexes offline after importing data.|

docs/tools/sqlpackage/sqlpackage-script.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ SqlPackage {parameters}{properties}{SQLCMD Variables}
158158
|**/p:**|IsAlwaysEncryptedParameterizationEnabled=(BOOLEAN 'False')|Enables variable parameterization on Always Encrypted columns in pre/post deployment scripts.|
159159
|**/p:**|LongRunningCommandTimeout=(INT32 '0')| Specifies the long running command timeout in seconds when executing queries against SQL Server. Use 0 to wait indefinitely.|
160160
|**/p:**|NoAlterStatementsToChangeClrTypes=(BOOLEAN)|Specifies that publish should always drop and re-create an assembly if there is a difference instead of issuing an ALTER ASSEMBLY statement.|
161+
|**/p:**|PerformIndexOperationsOnline=(BOOLEAN 'False')|Specifies whether to perform index operations online during deployment.|
161162
|**/p:**|PopulateFilesOnFileGroups=(BOOLEAN 'True')|Specifies whether a new file is also created when a new FileGroup is created in the target database.|
162163
|**/p:**|PreserveIdentityLastValues=(BOOLEAN 'False')|Specifies whether last values for identity columns should be preserved during deployment.|
163164
|**/p:**|RegisterDataTierApplication=(BOOLEAN)|Specifies whether the schema is registered with the database server.|

docs/tools/sqlpackage/sqlpackage-with-data-in-parquet-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: tools|sos
1212

1313
# SqlPackage with data in Parquet files (preview)
1414

15-
This article covers SqlPackage support for interacting with data stored in Azure Blob Storage that is in Parquet format. For SQL Server 2022 and Azure SQL Managed Instance, preview support for [extract](#extract-export-data) and [publish](#publish-import-data) with data in Parquet files in Azure Blob Storage is available in SqlPackage 162.1.176. Azure SQL Database and SQL Server 2019 and earlier aren't supported. The [import](sqlpackage-import.md) and [export](sqlpackage-export.md) actions continue to be available for SQL Server, Azure SQL Managed Instance, and Azure SQL Database. Support for Parquet files in Azure Blob Storage continues to be generally available for [Azure Synapse Analytics](sqlpackage-for-azure-synapse-analytics.md).
15+
This article covers SqlPackage support for interacting with data stored in Azure Blob Storage that is in Parquet format. For SQL Server 2022 and Azure SQL Managed Instance, preview support for [extract](#extract-export-data) and [publish](#publish-import-data) with data in Parquet files in Azure Blob Storage is available in SqlPackage 162.1.176 and higher. Azure SQL Database and SQL Server 2019 and earlier aren't supported. The [import](sqlpackage-import.md) and [export](sqlpackage-export.md) actions continue to be available for SQL Server, Azure SQL Managed Instance, and Azure SQL Database. Support for Parquet files in Azure Blob Storage continues to be generally available for [Azure Synapse Analytics](sqlpackage-for-azure-synapse-analytics.md).
1616

1717
With [extract](#extract-export-data), the database schema (`.dacpac` file) is written to the local client running SqlPackage and the data is written to Azure Blob Storage in Parquet format. The data is stored in individual folders named with two-part table names. [CETAS](../../t-sql/statements/create-external-table-as-select-transact-sql.md) is used to write the files in Azure Blob Storage.
1818

0 commit comments

Comments
 (0)