Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

NZE-29108: Cannot initialize random object.

1 Answers  


ORA-24148: cannot drop rule string.string with dependents

1 Answers  


ORA-12227: TNS:syntax error

1 Answers  


SQL*Loader-00655: cannot load object-relational XML attribute using direct path

1 Answers  


DRG-50948: ABOUT clause required in the absence of a text index

1 Answers  






RMAN-06457: UNTIL scn (string) is ahead of last scn in archived logs (string)

1 Answers  


ORA-17613: Failed to initialize Oracle Disk Manager library: string

1 Answers  


ORA-02224: EXECUTE privilege not allowed for tables

1 Answers  


ORA-29274: fixed-width multibyte character set not allowed for a URL

1 Answers  


ORA-07304: ksmcsg: illegal redo buffer size.

1 Answers  


NNL-00022: error changing trace level from string to string, level change ignored

1 Answers  


RMAN-06133: recovery catalog may have obsolete data for datafile string

1 Answers  






Categories