Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
Writing Dynamic SQL
When you write dynamic SQL, you will often follow one or more of the approaches outlined below.
|
Task |
Approach |
|---|---|
|
Run a non- |
Use EXECUTE IMMEDIATE. |
|
Run a dynamic |
Use EXECUTE IMMEDIATE with ECHO SELECT |
|
Run a dynamic |
Use COLLECT with a query type variable. |
|
Run a dynamic |
Use SCALAR with a |
Last modified: