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


Please Help Members By Posting Answers For Below Questions

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

724


How to create backup table in db2?

740


What is host variable?

683


What language is db2 written in?

676


Can you tell me how can you find out the # of rows updated after an update statement?

709






How and when does the db2 enforces the unique key?

723


What is clone table?

684


How to retrieve rows from a db2 table in embedded sql?

845


How do I start db2 in windows?

657


List out the buffer pools in db2

722


What is catalog database in db2?

749


Mention the location where the output received from explain statement is stored.

713


Define declaration generator (dclgen).

759


What is the result of open cursor statement?

716


What is table space in db2?

668