Skip to content

Commit e30a848

Browse files
Merge pull request #32943 from dzsquared/sqlprojects/q1_2025
Sqlprojects and sqlpackage docs changes
2 parents 1718baa + 30129ef commit e30a848

4 files changed

Lines changed: 47 additions & 2 deletions

File tree

docs/tools/sql-database-projects/sql-database-projects.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ New development work should consider using the SDK-style project format, as it's
8787
- NuGet [package references](concepts/package-references.md) for database references
8888
- Default globbing pattern for .sql files in the project
8989

90-
SDK-style projects have a superset of functionality from original SQL projects and existing SQL projects can be converted to SDK-style projects through [modification of the project file](howto/convert-original-sql-project.md). The exception to the functionality coverage is support for SQLCLR objects, which require .NET Framework and aren't supported in SDK-style projects.
90+
SDK-style projects have a superset of functionality from original SQL projects and existing SQL projects can be converted to SDK-style projects through [modification of the project file](howto/convert-original-sql-project.md).
91+
92+
The exception to the functionality coverage is support for SQLCLR objects, which require .NET Framework. A project that contains SQLCLR objects can be converted to an SDK-style project, but the project requires .NET Framework and must be built in Visual Studio on Windows. Once the project with the SQLCLR object is built, the `.dacpac` can be deployed with SqlPackage on .NET and .NET Framework and can be used as a `.dacpac` reference in a project (both same database or same server different database).
9193

9294
## Related content
9395

docs/tools/sqlpackage/sqlpackage-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ A list of preview releases is available on the [dotnet tool feed for SqlPackage]
9999

100100
## Installation, file download (alternative)
101101

102-
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](#installation-cross-platform). The following links are for the latest version of SqlPackage:
102+
SqlPackage is also prepared as a self-contained download for Windows, macOS, and Linux. No .NET install is required, however, the [operating system requirements](#supported-operating-systems) are the same as the [dotnet tool install](#installation-cross-platform). The dependencies included in this .zip download are updated more frequently in the [dotnet tool option for SqlPackage](#installation-cross-platform). The following links are for the latest version of SqlPackage:
103103

104104
| Platform | Download |
105105
| :--- | :--- |

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,47 @@ Ledger tables are enabled for extract and publish operations with Parquet files.
8787

8888
Data stored with Always Encrypted isn't supported for extract and publish operations with Parquet files.
8989

90+
Checking the database for unsupported types is done prior to extract to Parquet by SqlPackage, but you can examine your database quickly with T-SQL. The following sample query returns a result set of types and tables with types not supported for writing to Parquet files.
91+
92+
```sql
93+
SELECT DISTINCT C.DATA_TYPE, C.TABLE_SCHEMA, C.TABLE_NAME
94+
FROM INFORMATION_SCHEMA.TABLES T
95+
INNER JOIN INFORMATION_SCHEMA.COLUMNS C
96+
ON T.TABLE_SCHEMA = C.TABLE_SCHEMA
97+
AND T.TABLE_NAME = C.TABLE_NAME
98+
AND T.TABLE_TYPE = 'BASE TABLE'
99+
WHERE C.DATA_TYPE NOT IN (
100+
'binary',
101+
'varbinary',
102+
'char',
103+
'varchar',
104+
'nchar',
105+
'nvarchar',
106+
'smalldate',
107+
'smalldatetime',
108+
'date',
109+
'datetime',
110+
'datetime2',
111+
'datetimeoffset',
112+
'time',
113+
'decimal',
114+
'numeric',
115+
'float',
116+
'real',
117+
'bigint',
118+
'tinyint',
119+
'smallint',
120+
'int',
121+
'bigint',
122+
'bit',
123+
'money',
124+
'smallmoney',
125+
'uniqueidentifier'
126+
)
127+
```
90128

91129
## Next Steps
130+
92131
- Learn more about [Extract](sqlpackage-extract.md)
93132
- Learn more about [Publish](sqlpackage-publish.md)
94133
- Learn more about [Azure Blob Storage](/azure/storage/blobs/storage-blobs-introduction)

docs/tools/sqlpackage/troubleshooting-issues-and-performance-with-sqlpackage.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ For Export, an example command is:
4444

4545
Alternative to username and password, [multifactor authentication](/azure/azure-sql/database/authentication-mfa-ssms-overview) can be used to authenticate via Microsoft Entra authentication (formerly Azure Active Directory) with multifactor authentication. Substitute the username and password parameters for `/ua:true` and `/tid:"yourdomain.onmicrosoft.com"`.
4646

47+
### Diagnostic package
48+
49+
In SqlPackage [162.5](release-notes-sqlpackage.md#162557-sqlpackage) and later, a diagnostic package can be generated to assist in troubleshooting. The diagnostic package contains the SqlPackage version, the command executed, and the output of the command. To generate a diagnostic package, use the `/DiagnosticsFile:<filename>` parameter.
50+
4751
## Common issues
4852

4953
### Timeout errors

0 commit comments

Comments
 (0)