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

ORA-01938: IDENTIFIED BY must be specified for CREATE USER

1 Answers  


NZE-28788: user provided invalid information, or an unknown error

1 Answers  


ORA-03282: missing ALLOCATE EXTENT option

1 Answers  


ORA-23345: table "string"."string" not registered to collect statistics

1 Answers  


DRG-10827: open_con must be performed before count_last

1 Answers  


NNL-00950: Cache lookup requests: number

1 Answers  


DRG-11212: procedure filter procedure name contains a semicolon

1 Answers  


ORA-16061: Log file status has changed

1 Answers  


ORA-32840: property name cannot be NULL

1 Answers  


ORA-16570: operation requires restart of database "string"

1 Answers  


DRG-52100: %(1)s returned internal error code string

1 Answers  


NNC-00500: warning: "string" parameter value is illegal, setting to string

1 Answers  


Categories