PCB-00557: USING clause can only be used on a PREPAREd
dynamic statement
Answer Posted / 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 |
Post New Answer View All Answers
IMG-02003: 2FF03 - incorrect color histogram feature specification
ORA-26029: index string.string partition string initially in unusable state
ORA-26076: cannot set or reset value after direct path structure is allocated
ORA-16626: failed to enable specified object
ORA-26032: index string.string loading aborted after string keys
if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires
When i am connect database through toad,one error occured. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. plz help me thanks advance.............
when i ran any workflow or session, getting below error: seesion task instance[s_xxx]: Execution terminated unexpecterdly
RMAN-05017: no copy of datafile number found to recover
ORA-26027: unique index string.string partition string initially in unusable state
invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity
IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created
ORA-26082: load of overlapping segments on table string.string is not allowed
ORA-07497: sdpri: cannot create trace file 'string'; errno = string.
ORA-26079: file "string" is not part of table string.string