4.1 Use Bind Arguments with Dynamic SQL |
||||||||||||
|
You can use bind arguments in the WHERE clause, the VALUES clause, or the SET clause of any SQL statement, as long as the bind arguments are not used as Oracle identifiers (such as column names or table names), or key words. For example, you can rewrite this dynamic SQL with concatenated string value:
into this dynamic SQL with a placeholder (:1) using a bind argument (p_department_name):
|