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 |
ORA-07534: scginq: $getlki unexpected return on lockid string
ORA-23454: flavor string not defined for object group "string"."string"
PCC-02364: Host struct and its indicator must have the same number of fields
ORA-39128: unexpected DbmsJava error number from statement string
ORA-25300: Cannot drop buffer for queue with buffered subscribers
ORA-31602: parameter string value "string" in function string inconsistent with string
ORA-07445: exception encountered: core dump [string] [string] [string] [string] [string] [string]
ORA-28137: Invalid FGA audit Handler
IMG-00505: missing value in CUT rectangle
ORA-31403: change table string already contains a column string
TNS-00296: Stoppable : string
ORA-07235: slemcw: fwrite error.