← Back to all articles

// Category

DB2 for i

SQL, embedded SQL in RPG, database design and optimization on IBM i.

DB2 for i Stored Procedures: CREATE PROCEDURE, IN OUT Parameters, Cursors, and Error Handling in 2026
Master DB2 for i stored procedures in 2026: create SQL procedures with CREATE PROCEDURE, define IN, OUT, and INOUT parameters,…
DB2 for i Triggers: CREATE TRIGGER, BEFORE and AFTER, Transition Variables, and Audit Logging on IBM i in 2026
Master DB2 for i triggers in 2026: create BEFORE and AFTER triggers with CREATE TRIGGER, use FOR EACH ROW and…
DB2 for i CTEs and Recursive SQL: WITH Clause, Anchor and Recursive Members, Hierarchical Queries, Bill of Materials, and Cycle Detection on IBM i in 2026
Master DB2 for i common table expressions (CTEs) and recursive SQL in 2026: use the WITH clause to name intermediate…
DB2 for i Window Functions: ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, FIRST_VALUE, LAST_VALUE with OVER and PARTITION BY on IBM i in 2026
Master DB2 for i window functions in 2026: use ROW_NUMBER, RANK, DENSE_RANK, NTILE, LAG, LEAD, FIRST_VALUE, and LAST_VALUE with the…
ILE RPG Date, Time, and Timestamp Handling: %DATE, %DIFF, %ADDUR, %SUBUR, Format Conversion, and CEE Date APIs on IBM i in 2026
Master ILE RPG date and time handling in 2026: declare date, time, and timestamp fields, convert between formats using %DATE…
DB2 for i CTEs and Recursive SQL: WITH Clause, Recursive Queries, BOM Explosion, and Organizational Hierarchy in 2026
Unlock the power of DB2 for i CTEs and recursive SQL in 2026: write readable multi-step queries using the WITH…
DB2 for i Query Optimization: Visual Explain in ACS, SQE vs CQE, Index Design, Encoded Vector Indexes, STRDBMON, and Reading the SQL Plan Cache on IBM i in 2026
Optimize DB2 for i query performance in 2026: understand SQE vs CQE query engines, use Visual Explain in ACS to…
DB2 for i JSON and XML Support in 2026: JSON_VALUE, JSON_TABLE, FOR JSON, XMLTABLE, and Building REST Responses in SQL
A comprehensive guide to DB2 for i JSON and XML functions in 2026: extracting scalars with JSON_VALUE, shredding arrays with…
DB2 for i SQL Stored Procedures and User-Defined Functions in 2026: CREATE PROCEDURE, Cursors, UDFs, and Reusable Business Logic in DB2
A comprehensive guide to DB2 for i SQL stored procedures and user-defined functions in 2026: CREATE PROCEDURE syntax, IN/OUT parameters,…
DB2 for i Triggers in 2026: SQL and External Triggers, BEFORE and AFTER Timing, Audit Logging, and Calling RPG from a Trigger
DB2 for i triggers fire automatically on INSERT, UPDATE, and DELETE, enforcing rules that application code cannot bypass. This post…
Vector Search and Embeddings on IBM i in 2026: Storing Vectors in DB2 for i, Cosine Similarity in SQL, and Semantic Search over IBM i Data
Vector search and text embeddings bring semantic search to IBM i in 2026 — converting DB2 for i text fields…
DB2 for i Replication in 2026: Journal-Based CDC, Q-Replication, MIMIX, and Designing a Replication Strategy
DB2 for i replication in 2026 is built on IBM i journals — the same journal receivers that underpin HA…
DB2 for i Advanced SQL in 2026: SQE vs CQE, Index Advisor, Column Statistics, Materialized Query Tables, and Query Performance Patterns
Advanced DB2 for i query performance: the SQE versus CQE split and what it means for your queries, column statistics…
DB2 for i: the database hiding in plain sight
Every physical file you have ever defined in DDS, every CHAIN and READ in your RPG programs, every logical file…