Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


PCB-00557: USING clause can only be used on a PREPAREd
dynamic statement



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

Post New Answer

More Oracle Errors Interview Questions

PCC-02428: Buffer type is incompatible with LOB type

1 Answers  


PLS-00391: undefined column 'string' in UPDATE statement

1 Answers  


NCR-03021: NCRO: Reset the in-band line

1 Answers  


ORA-02778: Name given for the log directory is invalid

1 Answers  


ORA-22631: attribute [string] is is not well-formed or does not match the type

1 Answers  


TNS-00213: Available Connections : number

1 Answers  


ORA-33014: (XSAGDNGL06) In AGGMAP workspace object, variable operator workspace object cannot be dimensioned by rollup dimension workspace object.

1 Answers  


ORA-01453: SET TRANSACTION must be first statement of transaction

1 Answers  


ORA-12351: cannot create view using a remote object which has a remote object reference

1 Answers  


PCC-00107: The CONNECT statement is Oracle implementation dependent

1 Answers  


PCC-00091: TYPE statement requires format specification for this Oracle datatype

1 Answers  


QSM-00511: invalid fact-tables specified in fact-filter

1 Answers  


Categories