READ Free Dumps For Oracle- 1z0-146
Question ID 20562 | Examine the following PL/SQL statements: |
Option A | Replace P_WHERE_STMT with a bind variable |
Option B | Do not use APIs that allow arbitrary query parameters to be exposed |
Option C | Use the RESTRICT_REFERENCES clause in the PL/SQL subprogram that contains the code |
Option D | Use DBMS_SQL to detect that the expression provided for P_WHERE_STMT is free from SQL injection |
Correct Answer | B |
Question ID 20563 | Which two statements are true about cursor variables? (Choose two.) |
Option A | Cursor variables can be parameterized like cursors |
Option B | The query associated with a cursor variable cannot reference host varaible and PL/SQL variables |
Option C | The FETCH statemetn executes the query assocaited with a cursor variable and identifies the result yet |
Option D | Cursor attributes (%FOUND,%NOTFOUND,%ISOPEN and %ROWCOUNT) can be applied to a cursor variable |
Option E | The OPEN FOR statement executes the query associated with a cursor variable and identifies the result set |
Correct Answer | D,E |