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

Hi Satty
Can you please let us know what command you will use for
delete.
Vaneesh

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

B37 abend during spufi?

984


What is load utility in db2?

669


What is runstats utility in db2?

569


Is db2 a mainframe?

593


What is buffer pool in the db2 database?

621






List some fields from sqlca?

613


What is ibm db2 database?

541


What is the maximum No of rows per page?

629


what is diffrence b/w file-aid tool and file-aid utility???

4183


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

1899


Which command is used to remove all rows from a table?

553


What are the two types of logging in the db2 database? Explain them.

582


How does db2 sample database connect?

572


What is database manager in db2?

555


How to execute stored procedure in db2 command editor?

532