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-30653: reject limit reached

2 Answers  


ORA-01616: instance string (thread string) is open - cannot disable

1 Answers  


ORA-16582: Could not edit instance specific property.

1 Answers  


ORA-22340: cannot string type "string"."string". Dependent tables must be upgraded to latest version

1 Answers  


NID-00480: Database is intact - database is ready to be open or shut down.

1 Answers  


ORA-14309: Total count of list values exceeds maximum allowed

1 Answers  


RMAN-06026: some targets not found - aborting restore

1 Answers  


TNS-02403: Bad alias string or alias not present in tnsnames.ora

1 Answers  


QSM-02088: mv omits at least one grouping key from the select list

1 Answers  


ORA-00448: normal completion of background process

1 Answers  


ORA-31503: invalid date supplied for begin_date or end_date

1 Answers  


ORA-06423: NETCMN: Error in receiving data

1 Answers  


Categories