User Guide > Procedures > Working with SQL Scripts
 
Working with SQL Scripts
As part of creating a SQL script, you might also want to do the following:
Designing Parameters for a SQL Script
Promoting Procedures to Custom Functions
Pushing a Custom Function to the Native Data Source
Using Pipes and Cursors