Category: SQL
-
Sparse Vectors
An exploration of support for sparse vectors in Oracle database 23ai. In this article I review the capabilities and limitations of working with sparse vectors in SQL and PL/SQL.
-
Binary Vectors: Semantic Searches
After using a variety of models to generate float32 vectors, we can convert these vectors to binary dimension formats using a macro. This allows us to explore and compare various approaches to vector…
-
Binary Vectors: Quantization
A step-by-step exploration into the details of creating a scalar sql macro function to quantize binary vectors from vectors in other dimension formats.
-
Vector Math: Semantic Arithmetic
An exploration of some simple examples of vector arithmetic using vector embeddings generated within the Oracle database.
-
Sparse Vector Storage: Setting Compatible Parameter on OCI Autonomous Database
You can’t always get what you want…. Sometimes new features that come with a release update require the compatible initialization parameter to be set to a specific release or greater. VirtualBox 23ai Setting…
-
Incremental Rounding: Numbers
A look at using pl/sql to create user defined functions and sql macros for incremental rounding.
-
WITH Function Macros
Use sql macros as functions in the WITH clause to easily prototype macros.
-
Table Data Comparison: Column Differences
Using sql table macros to make finding row and column differences simple.
-
VirtualBox23ai QuickStart for OML4PY
Are you excited about the new AI Vector Search in Oracle 23ai! Have you been able to do a vector search in the new database without calling external APIs to do vector embeddings?…
-
Dynamic Unpivot Using JSON_DATAGUIDE
In this post I will explore a way to generate and run unpivot queries dynamically in PL/SQL. We will build a utility package to dynamically create unpivot queries using json and leveraging json_dataguide…
Recent
- Sparse Vectors
- Binary Vectors: Semantic Searches
- Binary Vectors: Quantization
- OML4PY 2.1 Quickstart
- Vector Math: Semantic Arithmetic
Categories
Archives
- November 2025
- August 2025
- May 2025
- April 2025
- March 2025
- December 2024
- November 2024
- August 2024
- July 2024
- February 2024
- September 2023
- June 2023
- May 2023