⚡ Dynamic SQL

EXECUTE IMMEDIATE and dynamic cursors when names are not known at compile time.

Snippet
☆EXECUTE IMMEDIATE (DDL) — Run DDL at runtime
☆EXECUTE IMMEDIATE + INTO — Dynamic query returning a value with binds
☆RETURNING INTO — Dynamic DML returning the new value
☆Dynamic Ref Cursor — Open a cursor for SQL built at runtime

← Back to all categories