Skip to content

Commit 9c511cc

Browse files
authored
Merge pull request #7829 from pmasl/patch-330
Update what-s-new-in-sql-server-ver15.md
2 parents 44b0246 + 8cdc14f commit 9c511cc

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/sql-server/what-s-new-in-sql-server-ver15.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Continue reading for more details about these features.
102102
[!INCLUDE[sql-server-2019](../includes/sssqlv15-md.md)] introduces or enhances the following new features for the Database Engine
103103

104104
### Scalar UDF inlining (CTP 2.1)
105+
105106
Scalar UDF inlining automatically transforms scalar user-defined functions (UDF) into relational expressions and embeds them in the calling SQL query, thereby improving the performance of workloads that leverage scalar UDFs. Scalar UDF inlining facilitates cost-based optimization of operations inside UDFs, and results in efficient plans that are set-oriented and parallel as opposed to inefficient, iterative, serial execution plans. This feature is enabled by default under database compatibility level 150.
106107

107108
### Improve truncation message for ETL DW scenarios (CTP 2.1)
@@ -110,15 +111,15 @@ The error message ID 8152 `String or binary data would be truncated` is familiar
110111

111112
`String or binary data would be truncated in table '%.*ls', column '%.*ls'. Truncated value: '%.*ls'.`
112113

113-
The new default error message provides more context for the data truncation problem, simplifying the troubleshooting process. If existing applications rely on parsing message ID 8152 and cannot handle the new message ID 2628, then you can revert back to using message ID 8152, by enabling trace flag 459.
114+
The new error message 2628 provides more context for the data truncation problem, simplifying the troubleshooting process. For CTP 2.1, this is an opt-in error message and requires [trace flag](../t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md) 460 to be enabled.
114115

115-
### UTF-8 support (CTP 2.0)
116+
### UTF-8 support (CTP 2.1)
116117

117-
Added support for UTF-8 collations in [!INCLUDE[sql-server-2019](../includes/sssqlv15-md.md)] CTP 2.1 Setup.
118+
Added support to select UTF-8 collations as server collation during [!INCLUDE[sql-server-2019](../includes/sssqlv15-md.md)] CTP 2.1 Setup.
118119

119120
### Database compatibility level (CTP 2.0)
120121

121-
Database **COMPATIBILITY_LEVEL 150** is added. To enable for a specific user database, execute: (CTP 2.0)
122+
Database **COMPATIBILITY_LEVEL 150** is added. To enable for a specific user database, execute:
122123

123124
```sql
124125
ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = 150;
@@ -130,7 +131,7 @@ Full support for the widely used UTF-8 character encoding as an import or export
130131

131132
For example,`LATIN1_GENERAL_100_CI_AS_SC` to `LATIN1_GENERAL_100_CI_AS_SC_UTF8`. UTF-8 is only available to Windows collations that support supplementary characters, as introduced in SQL Server 2012. `NCHAR` and `NVARCHAR` allow UTF-16 encoding only, and remain unchanged.
132133

133-
This feature may provide significant storage savings, depending on the character set in use. For example, changing an existing column data type with ASCII strings from `NCHAR(10)` to `CHAR(10)` using an UTF-8 enabled collation, translates into nearly 50% reduction in storage requirements. This reduction is because `NCHAR(10)` requires 22 bytes for storage, whereas `CHAR(10)` requires 12 bytes for the same Unicode string.
134+
This feature may provide significant storage savings, depending on the character set in use. For example, changing an existing column data type with Latin strings from `NCHAR(10)` to `CHAR(10)` using an UTF-8 enabled collation, translates into nearly 50% reduction in storage requirements. This reduction is because `NCHAR(10)` requires 22 bytes for storage, whereas `CHAR(10)` requires 12 bytes for the same Unicode string.
134135

135136
### Resumable online index create (CTP 2.0)
136137

0 commit comments

Comments
 (0)