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 / vaneesh khurana

By the way, why to select a signle row using cursor then
delete, if you want to delete all the row mentioned in the
cursor search creteria, simply write a SQL query mentioning
delete where (matching search condition).

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lock escalation in db2?

967


Can we insert update delete in view?

908


What is page size in db2?

906


How to test SQL -911 error while developing COB-DB2 program

7441


What is db2? Explain.

987


Explain the contention situations caused by locks?

1012


Explain what are the various isolation levels possible?

989


What is plan in cobol db2?

1060


What is sqlca’s maximum length?

1102


What does db2 stand for?

959


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

1041


How to check last update on table in db2?

1001


What is ibm db2 client?

880


What are bind parameters in db2?

980


Explain packages.

1055