AI and Vector Search with SQL Server and Azure SQL

1 day
USQLAI
1 day

Upcoming Sessions

Date: currently not scheduled

Format: Classroom

Price: 475€


Date: currently not scheduled

Format: Remote Classroom

Price: 400€


Subscribe to waiting list

Date: currently not scheduled

Format: Classroom

Price: 475€


Date: currently not scheduled

Format: Remote Classroom

Price: 400€


Subscribe to waiting list

Need a private training for your team?  Request a private training

Understanding Embedding Models

Learn how embedding models represent text as numerical vectors and how distances between vectors express similarity. Explore the applications of embeddings and the factors that influence your choice of model.

  • How embedding models represent meaning
  • Vectors, dimensions, and tokens
  • Embedding models and generative language models
  • Cosine distance, Euclidean distance, dot product, and normalization
  • Applications: vector search, recommendations, classification, and clustering
  • Choosing an embedding model

Preparing Data and Choosing Chunking Strategies

The content you send to an embedding model determines what your solution can retrieve. Learn how to prepare source data and split longer documents into chunks that preserve useful context.

  • Selecting and cleaning source content
  • Embedding complete records versus document chunks
  • Fixed-size and token-aware chunking
  • Sentence-based, structure-based, and semantic chunking
  • Choosing chunk size and overlap
  • Preserving context, source references, and metadata

Generating and Storing Embeddings in SQL

Create a SQL schema for your source content and its embeddings, then connect to an embedding model. Use SQL functions to generate chunks and embeddings, and explore how application code can participate in the same workflow.

  • The native VECTOR data type, dimensions, and precision
  • Schema design for records, chunks, embeddings, and metadata
  • Configuring an embedding endpoint with CREATE EXTERNAL MODEL
  • Generating embeddings with AI_GENERATE_EMBEDDINGS
  • Built-in chunking with AI_GENERATE_CHUNKS
  • Authentication, permissions, and application integration
  • LAB: Generating and Storing Embeddings

Building Vector and Hybrid Search

Use T-SQL to retrieve similar content with exact and approximate vector search. Combine vector results with relational filters and full-text search to support both semantic matching and precise terminology.

  • Exact nearest-neighbor search with VECTOR_DISTANCE
  • Choosing top-k results and interpreting distances
  • Approximate nearest-neighbor search and DiskANN
  • Creating vector indexes with CREATE VECTOR INDEX
  • Querying vector indexes with VECTOR_SEARCH
  • Combining vector search with relational filters and joins
  • Hybrid search with full-text search and Reciprocal Rank Fusion
  • Feature availability and limitations in Azure SQL Database and SQL Server
  • LAB: Building Vector and Hybrid Search

Embedding models turn text into vectors that capture semantic relationships between pieces of content. In this course, you use the native vector features of Azure SQL Database and Microsoft SQL Server 2025 to build solutions that search data by meaning.

You learn how to prepare your own data, generate and store embeddings, and retrieve relevant results with T-SQL. Through practical exercises, you build vector and hybrid search solutions that combine semantic similarity with the relational data already in your database.

You should have a working knowledge of T-SQL and relational database concepts, including tables, queries, and joins. No previous experience with embedding models or machine learning is required.

Contact Us
  • Address:
    U2U
    Z.1 Researchpark 110
    1731 Zellik (Brussels)
    BELGIUM
  • Phone: +32 2 466 00 16
  • Email: info@u2u.be
  • Monday - Friday: 9:00 - 17:00
    Saturday - Sunday: Closed
Say Hi
© 2026 U2U All rights reserved.