Generative AI Inside SQLCore Patterns of SQL + GenAIAI-Ready DataWhen SQL Should Run GenAI WorkloadsPrimitives: LLMs, Embeddings, and SearchLLM Functions Inside SQLEmbeddings, Search, and RetrievalPatterns: RAG, Agents, and MCPsGrounded Generation (the “G” in RAG)SQL-Based Agents and MCPsProductionizing Generative AI in the Data WarehouseLogging, Monitoring, and Evaluating GenAI OutputsCost and Performance EngineeringSecurity and Privacy ControlsPractical Deployment ArchitecturesProduction Readiness ChecklistSummary