In my table having 100 Rec. How can I delete the 7th row??
(we don't know what is data inside the table)
Answer Posted / mdv
DELETE FROM TABLE_NAME
WHERE RID(TABLE_NAME) = 7 ;
Works DB2 (V9 Onwards)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of using commit?
What is the use of runstats in db2?
List out the three types of page locks that can be held.
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is db2 command?
How to find the number of rows in a db2 table?
What is the use of value function?
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 .....
What is temporal table in db2?
Explain the benefits you can get from mainframe connect?
How do I add a column to an existing table in db2?
What is the difference between cursor and select statement?
How to find schema of a table in db2?
How do I start db2 in windows?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?