Parameterized SQL statement: Difference between revisions
Content added Content deleted
Line 1,043: | Line 1,043: | ||
{{works with|Db2 LUW}} |
{{works with|Db2 LUW}} |
||
The following example is not Parametrized SQL, but it prevents SQL injections, and the SQL performs very well, because the execution plan is precompiled. |
The following example is not Parametrized SQL, but it prevents SQL injections, and the SQL performs very well, because the execution plan is precompiled. |
||
<lang sql> |
<lang sql pl> |
||
CREATE TABLE PLAYERS ( |
CREATE TABLE PLAYERS ( |
||
NAME VARCHAR(32), |
NAME VARCHAR(32), |