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

Which isolation level provides highest data integrity?

1127


What is check constraint in db2?

1095


What does reorg do in db2?

1037


What is null in db2?

1031


What is the maximum size of a char data type in db2?

1012


Are views updateable?

1167


Mention data types used in db2 ?

1166


How do I import a csv file into db2?

995


What is dbrm? What it contains?

1164


What is the physical storage length of the data types date, time, and timestamp?

1094


What are the bind parameters ibm db2?

1058


what is the responsibility of the construction superintendent

2151


How to fetch the last row from the table in SQL (db2)?

1658


What are db2 tables?

1131


Define sqlca.

1119