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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

IMG-02003: 2FF03 - incorrect color histogram feature specification

1663


ORA-26029: index string.string partition string initially in unusable state

2112


ORA-26076: cannot set or reset value after direct path structure is allocated

1909


ORA-16626: failed to enable specified object

2166


ORA-26032: index string.string loading aborted after string keys

2064


if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires

2650


When i am connect database through toad,one error occured. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. plz help me thanks advance.............

2755


when i ran any workflow or session, getting below error: seesion task instance[s_xxx]: Execution terminated unexpecterdly

2181


RMAN-05017: no copy of datafile number found to recover

2358


ORA-26027: unique index string.string partition string initially in unusable state

6708


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

3328


IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created

1574


ORA-26082: load of overlapping segments on table string.string is not allowed

1725


ORA-07497: sdpri: cannot create trace file 'string'; errno = string.

2750


ORA-26079: file "string" is not part of table string.string

1903