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-28046: Password change for SYS disallowed

1 Answers  


ORA-09919: Unable to set label of dedicated server

1 Answers  


ORA-29856: error occurred in the execution of ODCIINDEXDROP routine

2 Answers  


ORA-02334: cannot infer type for column

1 Answers  


ORA-00310: archived log contains sequence string; sequence string required

1 Answers  


NNL-00289: Scheduled cache flush to occur in string

1 Answers  


TNS-12602: TNS: Connection Pooling limit reached

1 Answers  


TNS-12609: TNS: Receive timeout occurred

1 Answers  


RMAN-06060: WARNING: skipping datafile compromises tablespace string recoverability

1 Answers  


ORA-39067: Unable to close the log file.

1 Answers  


ORA-16567: Data Guard broker internal parser error at "string"

1 Answers  


ORA-22819: scope of input value does not correspond to the scope of the target

1 Answers  


Categories