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...

Hi Team,

Please tell me, If i don't declare the cursor in the program
and i have given open and fetch and close, then what error
will get.

Answer Posted / dharani

Db2 return code would be -504 since the cursor is not
declared.

-501 - cursor not opened
-502 - opening cursor which is already opened
-503 - update column not specified in cursor while
declaring the cursor for updating some of the columns in
the table.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a db2 collection?

1107


What is db2 bind?

1129


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1150


Can we update view in db2?

1052


How to create db2 table in mainframe?

1217


What is blu acceleration in db2?

1126


Mention the various locks that are available in db2.

1083


Why do chiropractors use drop table?

1163


How to find the maximum value in a column in the db2 database?

1125


What is null indicator in db2?

1162


What is role in db2?

1159


How does coalesce work?

1069


What is cursor in dbms?

1112


How do you eliminate duplicate values in db2?

1263


Which components manage deadlocks in db2?

1119