December 2002
Intermediate to advanced
745 pages
17h 26m
English
Unit Objectives
After this unit, you will know how to:
Most SQL statements in your PL/SQL will be known ahead of time. However, there are situations when you do not know the exact syntax of the query you will need at runtime; for example, a WHERE clause might depend on a sort order selected by a user, or different queries may be run depending on what the user requests to see. Dynamic SQL refers to SQL that is built and run when it is called. The SQL can be built as required, which is why it is called “Dynamic SQL.” The way Dynamic SQL works ...