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

PLS-00751: cannot find PACKAGE SYS_STUB_FOR_PURITY_ANALYSIS

1 Answers  


NID-00139: Mismatched dbname for datafile string, expected string, found string

1 Answers  


ORA-27073: Trying to close a file which has async I/Os pending to be dequeued

1 Answers  


PLS-00493: invalid reference to a server-side object or function in a local context

1 Answers  


PCC-02107: You may not specify PARSE = FULL when CODE = CPP

1 Answers  


ORA-19508: failed to delete file "string"

1 Answers  


ORA-14294: Number of partitions does not match number of subpartitions

1 Answers  


ORA-09260: sigpidu: error obtaining process id

1 Answers  


ORA-26672: timeout occurred while stopping STREAMS process string

1 Answers  


NNL-00568: delegate_domain <domain_name> <NS_name> <NS_Addr> : Delegate the given domain to the given nameserver

1 Answers  


ORA-12719: operation requires database is in RESTRICTED mode

2 Answers  


ORA-26501: RepAPI operation failure

1 Answers  


Categories