PCB-00557: USING clause can only be used on a PREPAREd
dynamic statement
Answer / guest
Cause: A severe semantics error occurred because the USING
clause was used with the OPEN cursor statement and the
cursor declaration is not for a PREPAREd statement. The
correct sequence of statements should be like: EXEC SQL
prepare sv from :sel_stmt END-EXEC. EXEC SQL declare csv
cursor for sv END-EXEC. EXEC SQL open csv USING :hv1, :hv2
END-EXEC.
Action: Use the prepare statement for the sql statement and
use that in the declare cursor statement.
Please add more information about this Error
Is This Answer Correct ? | 0 Yes | 0 No |
NNO-00302: server stopped
ORA-19361: ONLINE option not allowed with this type of index
ORA-22162: element at index [string] has been previously deleted
SQL-02153: Invalid character variable for use in a GET/SET statement
TNS-01403: Load: string
ORA-27078: unable to determine limit for open files
RMAN-08027: channel string: copied current controlfile
TNS-01413: "string" established:string refused:string current:string max:string state:string
ORA-31418: source schema string does not exist
IMG-02010: 2FF10 - illegal image format specification
DRG-11517: error when validating text objects
PLW-05001: previous use of 'string' (at line string) conflicts with this use