PCC-02445: USING clause valid only on a PREPAREd dynamic
statement



PCC-02445: USING clause valid only on a PREPAREd dynamic statement..

Answer / guest

Cause: The USING clause was used with an OPEN cursor
statement where the cursor declaration was not for a
PREPAREd statement. The correct sequence of statements
should be as follows EXEC SQL PREPARE s FROM :stmt; EXEC SQL
DECLARE c CURSOR FOR s; EXEC SQL OPEN c USING ...;

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

More Oracle Errors Interview Questions

CLSS-00101: Oracle Cluster Repository mismatch with node string. (string != string)

1 Answers  


ORA-16579: bad Data Guard NetSlave state detected

1 Answers  


ORA-06529: Version mismatch - PL/SQL profiler

1 Answers  


ORA-02724: osnpbr: cannot send break message to orapop

1 Answers  


ORA-19725: can not acquire plug-in enqueue

1 Answers  






ORA-09941: Version of orapasswd or installer is older than file.

1 Answers  


QSM-00512: invalid summaries specified in the retention-list

1 Answers  


ORA-30682: improper value for argument OPTION_FLAGS

1 Answers  


ORA-16765: Physical apply service unexpectedly online

1 Answers  


ORA-23300: %s

1 Answers  


ORA-29816: object being disassociated is not present

1 Answers  


IMG-00810: boundary queue initialization failed

1 Answers  


Categories