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/includes/paragraph-content/preview-features.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
---
2
2
author: MikeRayMSFT
3
3
ms.author: mikeray
4
-
ms.date: 08/14/2025
4
+
ms.reviewer: randolphwest
5
+
ms.date: 10/06/2025
5
6
ms.service: sql
6
7
ms.topic: include
7
8
---
@@ -10,7 +11,6 @@ The following table identifies features originally released as preview their cur
10
11
11
12
| Feature | Current status | Version of latest update | Description |
12
13
| --- | --- | --- | --- |
13
-
|[AI_GENERATE_CHUNKS](../../t-sql/functions/ai-generate-chunks-transact-sql.md)| Preview | RC 1 | Generate chunks of text from a given input text using an AI model. |
14
14
|[Change event streaming](../../relational-databases/track-changes/change-event-streaming/overview.md)| Preview | RC 1 | Stream changes from SQL Server to Azure Event Hubs. |
15
15
|[CREATE EXTERNAL MODEL](../../t-sql/statements/create-external-model-transact-sql.md)| Preview | RC 1 | Supports local ONNX models hosted directly on the SQL Server file system. |
16
16
|[CREATE VECTOR INDEX](../../t-sql/statements/create-vector-index-transact-sql.md)| Preview | RC 1 | Create an approximate index on a vector column to improve performances of nearest neighbors search. |
Copy file name to clipboardExpand all lines: docs/sql-server/what-s-new-in-sql-server-2025.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
@@ -4,7 +4,7 @@ description: Learn about new features for SQL Server 2025 (17.x), which gives yo
4
4
author: MikeRayMSFT
5
5
ms.author: mikeray
6
6
ms.reviewer: wiassaf, randolphwest
7
-
ms.date: 09/16/2025
7
+
ms.date: 10/06/2025
8
8
ms.service: sql
9
9
ms.subservice: release-landing
10
10
ms.topic: whats-new
@@ -88,7 +88,7 @@ The following sections identify features that are improved or introduced in [!IN
88
88
|[Copilot in SQL Server Management Studio](/ssms/copilot/copilot-in-ssms-overview)| Ask questions. Get answers from your data. |
89
89
|[Vector data type](../t-sql/data-types/vector-data-type.md)| Store vector data optimized for operations such as similarity search and machine learning applications. Vectors are stored in an optimized binary format but are exposed as JSON arrays for convenience. Each element of the vector can be stored either using a single-precision (4-byte) or half-precision (2-byte) floating-point value. |
90
90
|[Vector functions](../t-sql/functions/vector-functions-transact-sql.md)| New scalar functions perform operations on vectors in binary format, allowing applications to store and manipulate vectors in the SQL Database Engine. |
91
-
|[Vector index](../sql-server/ai/vectors.md#vector-search)| Create and manage approximate vector indexes to quickly and efficiently find similar vectors to a given reference vector.<br /><br />Query vector indexes from [sys.vector_indexes](../relational-databases/system-catalog-views/sys-vector-indexes-transact-sql.md). Requires [PREVIEW_FEATURES database scoped configuration](../t-sql/statements/alter-database-scoped-configuration-transact-sql.md#preview-features). |
91
+
|[Vector index](ai/vectors.md#vector-search)| Create and manage approximate vector indexes to quickly and efficiently find similar vectors to a given reference vector.<br /><br />Query vector indexes from [sys.vector_indexes](../relational-databases/system-catalog-views/sys-vector-indexes-transact-sql.md). Requires [PREVIEW_FEATURES database scoped configuration](../t-sql/statements/alter-database-scoped-configuration-transact-sql.md#preview-features). |
92
92
|[Manage external AI models](../t-sql/statements/create-external-model-transact-sql.md)| Manage external AI model objects for embedding tasks (creating vector arrays) accessing REST AI inference endpoints. |
93
93
94
94
## Developer
@@ -223,7 +223,7 @@ The [intelligent query processing (IQP)](../relational-databases/performance/int
223
223
|[CREATE EXTERNAL MODEL](../t-sql/statements/create-external-model-transact-sql.md)| Creates an external model object that contains the location, authentication method, and purpose of an AI model inference endpoint. Requires [PREVIEW_FEATURES database scoped configuration](../t-sql/statements/alter-database-scoped-configuration-transact-sql.md#preview-features). |
224
224
|[ALTER EXTERNAL MODEL](../t-sql/statements/alter-external-model-transact-sql.md)| Alters an external model object. |
225
225
|[DROP EXTERNAL MODEL](../t-sql/statements/drop-external-model-transact-sql.md)| Drops an external model object. |
226
-
|[AI_GENERATE_CHUNKS](../t-sql/functions/ai-generate-chunks-transact-sql.md)| Creates *chunks*, or fragments of text based on a type, size, and source expression. Requires [PREVIEW_FEATURES database scoped configuration](../t-sql/statements/alter-database-scoped-configuration-transact-sql.md#preview-features). |
226
+
|[AI_GENERATE_CHUNKS](../t-sql/functions/ai-generate-chunks-transact-sql.md)| Creates *chunks*, or fragments of text based on a type, size, and source expression. |
227
227
|[AI_GENERATE_EMBEDDINGS](../t-sql/functions/ai-generate-embeddings-transact-sql.md)| Creates embeddings (vector arrays) using a precreated AI model definition stored in the database. |
228
228
|**Regular expressions**||
229
229
|[REGEXP_LIKE](../t-sql/functions/regexp-like-transact-sql.md)| Indicates if the regular expression pattern matches in a string. |
@@ -243,7 +243,7 @@ The [intelligent query processing (IQP)](../relational-databases/performance/int
243
243
|[PRODUCT](../t-sql/functions/product-aggregate-transact-sql.md)| The `PRODUCT()` aggregate function calculates the product of a set of values. |
244
244
|[CURRENT_DATE](../t-sql/functions/current-date-transact-sql.md)| Returns the current database system date as a date value. |
245
245
|[EDIT_DISTANCE](../t-sql/functions/edit-distance-transact-sql.md)| Calculates the number of insertions, deletions, substitutions, and transpositions needed to transform one string to another. |
246
-
|[EDIT_DISTANCE_SIMILARITY](../t-sql/functions/edit-distance-similarity-transact-sql.md)| Calculates a similarity value ranging from 0 (indicating no match) to 100 (indicating full match).|
246
+
|[EDIT_DISTANCE_SIMILARITY](../t-sql/functions/edit-distance-similarity-transact-sql.md)| Calculates a similarity value ranging from 0 (indicating no match) to 100 (indicating full match).|
247
247
|[JARO_WINKLER_DISTANCE](../t-sql/functions/jaro-winkler-distance-transact-sql.md)| Calculates the edit distance between two strings giving preference to strings that match from the beginning for a set prefix length. Returns **float**. |
248
248
|[JARO_WINKLER_SIMILARITY](../t-sql/functions/jaro-winkler-similarity-transact-sql.md)| Calculates a similarity value ranging from 0 (indicating no match) to 100 (indicating full match). Returns **int**. |
249
249
| - [BASE64_ENCODE](../t-sql/functions/base64-encode-transact-sql.md)<br />- [BASE64_DECODE](../t-sql/functions/base64-decode-transact-sql.md)| Convert binary data into a text format that's safe for transmission across various systems. It can be used in diverse ways as it ensures that your binary data, such as images or files, remains intact during transfer, even when passing through text-only systems. |
`AI_GENERATE_CHUNKS` is a table-valued function that creates "chunks", or fragments of text based on a type, size, and source expression.
28
28
29
-
> [!NOTE]
30
-
> `AI_GENERATE_CHUNKS` in SQL Server 2025 is currently in **preview**. In order to use this feature, you must enable the `PREVIEW_FEATURES`[database scoped configuration](../statements/alter-database-scoped-configuration-transact-sql.md#preview-features).
31
-
32
29
#### Compatibility level 170
33
30
34
31
`AI_GENERATE_CHUNKS` requires the compatibility level to be at least 170. When the level is less than 170, the [!INCLUDE [ssde-md](../../includes/ssde-md.md)] is unable to find the `AI_GENERATE_CHUNKS` function.
@@ -153,41 +150,34 @@ CROSS APPLY
153
150
The following example uses `AI_GENERATE_CHUNKS` to chunk a text column. It uses a `chunk_type` of `FIXED` and a `chunk_size` of 100 characters.
154
151
155
152
```sql
156
-
SELECT
157
-
c.chunk
158
-
FROM
159
-
docs_table t
153
+
SELECTc.chunk
154
+
FROM docs_table AS t
160
155
CROSS APPLY
161
-
AI_GENERATE_CHUNKS(source= text_column, chunk_type= FIXED, chunk_size=100) c
156
+
AI_GENERATE_CHUNKS (SOURCE= text_column, CHUNK_TYPE= FIXED, CHUNK_SIZE=100) AS c;
162
157
```
163
158
164
159
### B. Chunk a text column with overlap
165
160
166
161
The following example uses `AI_GENERATE_CHUNKS` to chunk a text column using overlap. It uses the chunk_type of FIXED, a chunk_size of 100 characters, and an overlap of 10 percent.
167
162
168
163
```sql
169
-
SELECT
170
-
c.chunk
171
-
FROM
172
-
docs_table t
164
+
SELECTc.chunk
165
+
FROM docs_table AS t
173
166
CROSS APPLY
174
-
AI_GENERATE_CHUNKS(source= text_column, chunk_type= FIXED, chunk_size=100, overlap=10) c
167
+
AI_GENERATE_CHUNKS (SOURCE= text_column, CHUNK_TYPE= FIXED, CHUNK_SIZE=100, OVERLAP=10) AS c;
175
168
```
176
169
177
170
### C. Use AI_GENERATE_EMBEDDINGS with AI_GENERATE_CHUNKS
178
171
179
172
This example uses `AI_GENERATE_EMBEDDINGS` with `AI_GENERATE_CHUNKS` to create embeddings from text chunks and then inserts the returned vector arrays from the AI model inferencing endpoint into a table.
180
173
181
174
```sql
182
-
INSERT INTO
183
-
my_embeddings (chunked_text, vector_embeddings)
184
-
SELECT
185
-
c.chunk,
186
-
AI_GENERATE_EMBEDDINGS(c.chunk USE MODEL MyAzureOpenAiModel)
187
-
FROM
188
-
table_with_text t
175
+
INSERT INTO my_embeddings (chunked_text, vector_embeddings)
176
+
SELECTc.chunk,
177
+
AI_GENERATE_EMBEDDINGS(c.chunk USE MODEL MyAzureOpenAiModel)
178
+
FROM table_with_text AS t
189
179
CROSS APPLY
190
-
AI_GENERATE_CHUNKS(source=t.text_to_chunk, chunk_type= FIXED, chunk_size=100) c
180
+
AI_GENERATE_CHUNKS (SOURCE=t.text_to_chunk, CHUNK_TYPE= FIXED, CHUNK_SIZE=100) AS c;
0 commit comments