Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Locate reusable pieces of SQL code into the IFS. Then, use INCLUDE to pull those segments into your SQL routines or triggers, and even ACS's Run SQL Scripts or RUNSQLSTM.
-- Use INCLUDE (SQL) to maintain reusable code segments.
-- and incorporate in scripts or SQL Procedures, Functions, and Triggers
-- Reference:
-- description: Use the INCLUDE statement to pull
-- in and execute common pieces
-- of SQL
include sql '/home/SCOTTF/create objects.sql';
include sql '/home/SCOTTF/insert data.sql';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.