File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -3490,6 +3490,16 @@ Using bind parameters is recommended in preference to constructing SQL
3490
3490
or PL/SQL statements by string concatenation. This is for performance
3491
3491
and security.
3492
3492
3493
+ Inserted data that is bound is passed to the database separately from
3494
+ the statement text. It can never be executed. This means there is no
3495
+ need to escape bound data inserted into the database.
3496
+
3497
+ If a statement is executed more than once with different values for
3498
+ the bind parameters, Oracle can re-use context from the initial
3499
+ execution, thus improving performance. However, if similar statements
3500
+ contain hard coded values instead of bind parameters, Oracle sees the
3501
+ statement text is different and would be less efficient.
3502
+
3493
3503
IN binds are values passed into the database. OUT binds are used to
3494
3504
retrieve data. IN OUT binds are passed in, and may return a different
3495
3505
value after the statement executes.
You can’t perform that action at this time.
0 commit comments