By Vinish Kapoor

Oracle Database 26ai Tutorials

Every Oracle AI Database 26ai and 23ai tutorial on vinish.dev: vectors, semantic search, LLMs and RAG in PL/SQL, plus SQL and PL/SQL essentials.

  • 103 tutorials
  • 12 topics
  • 4 learning paths
  • Updated October 2026

Browse by topic

Learning paths

Ordered series you can follow from the first lesson to the last. Your progress is saved in this browser.

Intermediate · 34 lessons

Build AI Applications in the Database

From AI concepts and embeddings to vector indexes, hybrid search, RAG, safe NL2SQL, and production deployment.

Start lesson 1 →
  1. AI Concepts Explained for Oracle Developers
  2. How to Call Gemini from Oracle Database with a Stored Credential
  3. How to Use the VECTOR Data Type in Oracle AI Database 26ai
  4. How to Measure Vector Distance with VECTOR_DISTANCE in Oracle
  5. How to Load an ONNX Embedding Model into Oracle Database
  6. How to Generate Embeddings in SQL with VECTOR_EMBEDDING
  7. How to Generate Embeddings with Gemini from PL/SQL
  8. How to Choose an Embedding Model: In-Database vs Gemini
  9. How to Create an IVF Vector Index in Oracle
  10. How to Create an HNSW Vector Index in Oracle
  11. How to Build Semantic Search in Oracle Database
  12. How to Search by Keyword with Oracle Text
  13. How to Build Hybrid Search in Oracle Database
  14. How to Chunk Documents for Vector Search in Oracle
  15. How to Search PDF Documents by Meaning in Oracle
  16. How to Call an LLM from PL/SQL with UTL_TO_GENERATE_TEXT
  17. How to Make LLM Calls Reliable in PL/SQL
  18. How to Classify Data with an LLM in Oracle SQL
  19. How to Extract Structured Data from Text with an LLM in Oracle
  20. How to Build RAG with PL/SQL in Oracle Database
  21. How to Test AI Answers with an LLM Grader in Oracle
  22. How to Generate SQL from Natural Language with an LLM in Oracle
  23. How to Run LLM-Generated SQL Safely in Oracle
  24. How to Use Machine Learning on Embeddings in Oracle Database
  25. How to Join Tables by Meaning with Vector Search in Oracle
  26. How to Store Vectors in JSON Documents in Oracle
  27. How to Rank Graph Paths by Meaning with SQL Property Graphs
  28. How to Run a Local LLM with Ollama from Oracle Database
  29. How to Redact Personal Data Before Calling an LLM in Oracle
  30. How to Defend Oracle AI Applications Against Prompt Injection
  31. How to Control What an AI Assistant Can See with Row-Level Security
  32. How to Reduce the Cost of LLM Calls in Oracle
  33. How to Run AI Jobs in the Background with DBMS_SCHEDULER
  34. How to Deploy Oracle AI Applications to Production

Tip: Ctrl-click a lesson to open it in a new tab. It still counts toward your progress.

Latest tutorials

Books & free tools

Go deeper with the books, or try the free tools.

All tutorials by topic

Getting Started & Setup 9

What's new in 26ai and 23ai, installing the database and SQL Developer, and core concepts.

Fixing Connection & Login Errors 10

ORA- errors when connecting and logging in: TNS and listener problems, locked or expired accounts, privileges, and space.

Performance & Diagnostics 4

Find out what is slow or stuck: wait events, blocking sessions, Active Session History, and SQL Monitor reports.

AI Concepts & LLM Setup 5

AI concepts for Oracle developers, and connecting the database to Gemini or a local LLM.

Vectors & Embeddings 9

The VECTOR data type, distance, embedding models, and vector indexes.

LLMs & RAG in PL/SQL 8

Call LLMs from SQL and PL/SQL, classify and extract data, RAG, and natural-language SQL.

AI Security & Production 6

Redaction, prompt injection, row-level security, cost, background jobs, and deployment.

SQL Essentials 15

Create tables, query and change data, data types, joins, and execution plans.

SQL Query Recipes 12

Real analytics queries: running totals, gaps and islands, cohorts, churn, and JSON.

PL/SQL Essentials 16

Blocks, variables, control flow, cursors, exceptions, procedures, packages, and triggers.

Books 2

The Oracle Database 26ai books.