Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b7f5005

Browse files
author
Steven Feuerstein
authored
Update README.md
1 parent 7a9aa35 commit b7f5005

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

‎plsql/dynamic-sql/README.md‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,20 @@ and
88

99
DBMS_SQL, a comprehensive supplied package API to dynamic SQL operations.
1010

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.
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+
13+
Method 1 - DDL or non-query DML without bind variables
14+
15+
EXECUTE IMMEDIATE string
16+
17+
Method 2 - Non-query DML with fixed number of bind variables
18+
19+
EXECUTE IMMEDIATE string USING
20+
21+
Method 3 - Query with fixed number of expressions in the select list and fixed number of bind variables
22+
23+
EXECUTE IMMEDIATE string USING ... INTO
24+
25+
Method 4 - Query with dynamic number of expressions in select list or DML with dynamic number of bind variables.
26+
27+
DBMS_SQL is usually the best path to a solution.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /