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
@@ -39,7 +39,7 @@ The following links provide sample code of various options to build intelligent
39
39
| AI Option | Description |
40
40
| --- | --- |
41
41
|**[Azure OpenAI](#azure-openai)**| Generate embeddings for RAG and integrate with any model supported by Azure OpenAI. |
42
-
|**[Vectors](#vectors)**| Learn how to store and query vectors in the database. |
42
+
|**[Vectors](#vectors)**| Learn how to store vectors and use vector functions in the database. |
43
43
|**[Azure AI Search](#azure-ai-search)**| Use your database together with Azure AI Search to train LLM on your data. |
44
44
|**[Intelligent applications](#intelligent-applications)**| Learn how to create an end-to-end solution using a common pattern that can be replicated in any scenario. |
45
45
|**[Copilot skills in Azure SQL Database](#microsoft-copilot-skills-in-azure-sql-database)**| Learn about the set of AI-assisted experiences designed to streamline the design, operation, optimization, and health of Azure SQL Database-driven applications. |
@@ -86,7 +86,9 @@ In Azure OpenAI, input text provided to the API is turned into tokens (tokenized
86
86
87
87
### Vectors
88
88
89
-
Vectors are ordered arrays of numbers (typically floats) that can represent information about some data. For example, an image can be represented as a vector of pixel values, or a string of text can be represented as a vector or ASCII values. The process to turn data into a vector is called *vectorization*. For more information, see [Vectors](#vectors-1).
89
+
Vectors are ordered arrays of numbers (typically floats) that can represent information about some data. For example, an image can be represented as a vector of pixel values, or a string of text can be represented as a vector or ASCII values. The process to turn data into a vector is called *vectorization*. For more information, see [Vector examples](#vector-examples).
90
+
91
+
Working with vector data is easier with the introduction of the [vector data type](/sql/t-sql/data-types/vector-data-type?view=azuresqldb-current&preserve-view=true) and [vector functions](/sql/t-sql/functions/vector-functions-transact-sql?view=azuresqldb-current&preserve-view=true).
90
92
91
93
### Embeddings
92
94
@@ -104,7 +106,7 @@ Vectors in Azure SQL Database can be efficiently stored and queried, as describe
104
106
105
107
## Azure OpenAI
106
108
107
-
Embedding is the process of representing the real world as data. Text, images, or sounds can be converted into embeddings. Azure OpenAI models are able to transform real-world information into embeddings. The models are available as REST endpoints and thus can be easily consumed from Azure SQL Database using the [`sp_invoke_external_rest_endpoint`](/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql) system stored procedure:
109
+
Embedding is the process of representing the real world as data. Text, images, or sounds can be converted into embeddings. Azure OpenAI models are able to transform real-world information into embeddings. The models are available as REST endpoints and thus can be easily consumed from Azure SQL Database using the [`sp_invoke_external_rest_endpoint`](/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql?view=azuresqldb-current&preserve-view=true) system stored procedure:
108
110
109
111
```sql
110
112
DECLARE @retval INT, @response NVARCHAR(MAX);
@@ -132,11 +134,9 @@ For additional examples on using SQL Database and OpenAI, see the following arti
132
134
-[Generate images with Azure OpenAI Service (DALL-E) and Azure SQL Database](https://devblogs.microsoft.com/azure-sql/generate-images-with-openai-and-azure-sql/)
133
135
-[Using OpenAI REST Endpoints with Azure SQL Database](https://devblogs.microsoft.com/azure-sql/using-openai-rest-endpoints-with-azure-sql-database/)
134
136
135
-
## Vectors
136
-
137
-
In November 2024, the new **vector** data type was introduced in Azure SQL Database.
137
+
## Vector examples
138
138
139
-
The dedicated **vector** type allows for efficient and optimized storing of vector data, and comes with a set of functions to help developers streamline vector and similarity search implementation. Calculating distance between two vectors can be done in one line of code using the new `VECTOR_DISTANCE` function. For more information on the [**vector** data type](/sql/t-sql/data-types/vector-data-type)and related functions, see [Overview of vectors in the SQL Database Engine](/sql/relational-databases/vectors/vectors-sql-server).
139
+
The dedicated **vector**data type allows for efficient and optimized storing of vector data, and comes with a set of functions to help developers streamline vector and similarity search implementation. Calculating distance between two vectors can be done in one line of code using the new `VECTOR_DISTANCE` function. For more information and examples, see [Vector search and vector indexes in the SQL Database Engine](/sql/relational-databases/vectors/vectors-sql-server?view=azuresqldb-current&preserve-view=true).
Implement RAG-patterns with Azure SQL Database and Azure AI Search. You can run supported chat models on data stored in Azure SQL Database, without having to train or fine-tune models, thanks to the integration of Azure AI Search with Azure OpenAI and Azure SQL Database. Running models on your data enables you to chat on top of, and analyze, your data with greater accuracy and speed.
Copy file name to clipboardExpand all lines: azure-sql/database/authentication-microsoft-entra-create-users-with-nonunique-names.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
@@ -5,7 +5,7 @@ description: Learn how to mitigate naming conflicts for Microsoft Entra logins a
5
5
author: tameikal-msft
6
6
ms.author: talawren
7
7
ms.reviewer: vanto, mathoma, jaszymas
8
-
ms.date: 11/20/2024
8
+
ms.date: 04/30/2025
9
9
ms.service: azure-sql
10
10
ms.subservice: security
11
11
ms.topic: conceptual
@@ -46,7 +46,7 @@ The *duplicate display name* error occurs because Microsoft Entra ID allows dupl
46
46
> [!NOTE]
47
47
> Most nonunique display names in Microsoft Entra ID are related to service principals, though occasionally group names can also be nonunique. Microsoft Entra user principal names are unique, as two users can't have the same user principal. However, an app registration (service principal) can be created with a display name that is the same as a user principal name.
48
48
>
49
-
> If the service principal display name isn't a duplicate, the default `CREATE LOGIN` or `CREATE USER` statement should be used. The `WITH OBJECT_ID` extension is a troubleshooting repair item implemented for use with nonunique service principals. Using it with a unique service principal isn't recommended. Using the `WITH OBJECT_ID` extension for a service principal without adding a suffix will run successfully, but it will not be obvious which service principal the login or user was created for. It's recommended to create an alias using a suffix to uniquely identify the service principal. The `WITH OBJECT_ID` extension isn't supported for SQL Server.
49
+
> If the service principal display name isn't a duplicate, the default `CREATE LOGIN` or `CREATE USER` statement should be used. The `WITH OBJECT_ID` extension is a troubleshooting repair item implemented for use with nonunique service principals. Using it with a unique service principal isn't recommended. Using the `WITH OBJECT_ID` extension for a service principal without adding a suffix will run successfully, but it will not be obvious which service principal the login or user was created for. It's recommended to create an alias using a suffix to uniquely identify the service principal. The `WITH OBJECT_ID` extension is supported for SQL Server 2025 and later versions.
50
50
51
51
## T-SQL create login/user syntax for nonunique display names
Copy file name to clipboardExpand all lines: azure-sql/database/doc-changes-updates-release-notes-whats-new-archive.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Return to [What's new in Azure SQL Database?](doc-changes-updates-release-notes-
32
32
|**Vector data type (preview)**| November | Working with vector data is now easier in Azure SQL Database with the introduction of a new [vector data type](/sql/t-sql/data-types/vector-data-type) and [functions](/sql/t-sql/functions/vector-functions-transact-sql). This feature is now in preview. For more information, see [Intelligent applications with Azure SQL Database](ai-artificial-intelligence-intelligent-applications.md#vectors). |
33
33
|**Hyperscale single database increased maximum size**| November | The maximum single database size in Azure SQL Database Hyperscale has been increased from 100 TB to 128 TB. For more information, see [Blog: November 2024 Hyperscale enhancements](https://aka.ms/AAslnql). |
34
34
|**Hyperscale increased log generation rate (preview)**| November | The transaction log generation rate in Azure SQL Database Hyperscale single databases is set to increase from 100 MiB/s to 150 MiB/s. The increased log generation rate is available as an opt-in preview feature. This feature is now in preview. For more information and to opt in to 150 MiB/s, see [Blog: November 2024 Hyperscale enhancements](https://aka.ms/AAslnql). |
35
-
|**Hyperscale continuous priming (preview)**| November |[Continuous priming](service-tier-hyperscale.md#buffer-pool-resilient-buffer-pool-extension-and-continuous-priming) is an innovative new feature is designed to optimize Hyperscale performance during failovers by priming secondary compute replicas. Continuous priming is currently in a gated preview. This feature is now in preview. For more information and to opt in to continuous priming, see [Blog: November 2024 Hyperscale enhancements](https://aka.ms/AAslnql). |
35
+
|**Hyperscale continuous priming (preview)**| November |[Continuous priming](service-tier-hyperscale.md#continuous-priming) is an innovative new feature is designed to optimize Hyperscale performance during failovers by priming secondary compute replicas. Continuous priming is currently in a gated preview. This feature is now in preview. For more information and to opt in to continuous priming, see [Blog: November 2024 Hyperscale enhancements](https://aka.ms/AAslnql). |
36
36
|**Network Security Perimeter (preview)**| November |[Network Security Perimeter](network-security-perimeter.md) secures both inbound and outbound network traffic between Azure SQL Database and other Platform as a Service (PaaS) resources, and attempts made to communicate with Azure resources that aren't inside the perimeter are blocked. This feature is now in preview. |
37
37
|**OBJECT_ID T-SQL syntax (GA)**| November | The [CREATE USER](/sql/t-sql/statements/create-user-transact-sql) Transact-SQL (T-SQL) syntax has been extended to include `WITH OBJECT_ID` to support creating Microsoft Entra logins and users in Azure SQL Database that have nonunique names. This feature is now generally available. For more information, see [Microsoft Entra nonunique name support](authentication-microsoft-entra-create-users-with-nonunique-names.md). |
38
38
|**Lower auto-pause delay for serverless**| October | Reduce costs by lowering the [autopause delay for serverless compute in Azure SQL Database](https://aka.ms/AAs7lpz). For more information, see [serverless compute tier](serverless-tier-overview.md). |
0 commit comments