Specifying pre- or post-processing SQL statements
If you are using a Select or Extract process, you can optionally include raw SQL statements to run before or after the process.
Before you begin
For important information, see Guidelines for using raw SQL queries.
About this task
You can include SQL procedures as part of the process run, which can be useful for ETL, routine data mart updates, performance tuning, and security. You can specify pre- or post-processing SQL:
- Pre-processing: Enter raw SQL to be processed before the query runs.
- Post-processing: Enter raw SQL to be processed after the query runs.
For example, you can use pre- and post-processing SQL statements to:
- Run stored procedures in the database
- Create, drop, and re-create tables and indexes
- Grant or change privileges to other users or groups
- Organize multistep database commands
- Run complex database routines without having to use external scripts to connect to the database
Note: For important information, see Guidelines for using raw SQL queries.