|
8 | 8 |
|
9 | 9 | DBMS_SQL, a comprehensive supplied package API to dynamic SQL operations.
|
10 | 10 |
|
11 | | -Generally, EXECUTE IMMEDIATE will handle almost all your dynamic SQL requirements. Consider using DBMS_SQL primarily for the most advanced requirements, such as method 4 dynamic SQL. See below for more details on different dynamic SQL methods. |
| 11 | +Generally, `EXECUTE IMMEDIATE` will handle almost all your dynamic SQL requirements. Consider using `DBMS_SQL` primarily for the most advanced requirements, such as method 4 dynamic SQL. See below for more details on different dynamic SQL methods. |
12 | 12 |
|
13 | 13 | Method 1 - DDL or non-query DML without bind variables
|
14 | 14 |
|
15 | | -EXECUTE IMMEDIATE string |
| 15 | +EXECUTE IMMEDIATE string |
16 | 16 |
|
17 | 17 | Method 2 - Non-query DML with fixed number of bind variables
|
18 | 18 |
|
19 | | -EXECUTE IMMEDIATE string USING |
| 19 | +EXECUTE IMMEDIATE string USING |
20 | 20 |
|
21 | 21 | Method 3 - Query with fixed number of expressions in the select list and fixed number of bind variables
|
22 | 22 |
|
23 | | -EXECUTE IMMEDIATE string USING ... INTO |
| 23 | +EXECUTE IMMEDIATE string USING ... INTO |
24 | 24 |
|
25 | 25 | Method 4 - Query with dynamic number of expressions in select list or DML with dynamic number of bind variables.
|
26 | 26 |
|
27 | | -DBMS_SQL is usually the best path to a solution. |
| 27 | +DBMS_SQL is usually the best path to a solution. |
0 commit comments