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

by using cursors , we can access particular records from
the table based on some condition, i want to delete those
selected records, how can we write a query for this in the
program?

Answer Posted / satty

first declare cursor and select the records you wanted and
then use delete statement with where current of your cursor.
becoz it will help you to delete that particular record
which has been choosed.

if any thing wrong plz intimate

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between rollback and commit?

1111


What are the various isolation levels possible?

1066


What's The Error Code For Unique Index Voilation?

1176


What is load replace in db2?

948


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1022


How to execute stored procedures?

1078


What is the difference between db2 and oracle?

1081


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

11636


How to resolve deadlock issue

19932


What does reorg do in db2?

998


What is rct?

1184


What is the cobol picture clause of the db2 data types date, time, timestamp?

1030


What are db2 tables?

1069


What is with ur in db2?

1264


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

3110