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 are the full forms of spufi and dclgen and why are they used?

654


Who uses db2?

569


What is the use of reorg in db2?

598


What's The Percentage Free Space ?

764


Why cursor is used in db2?

572






Is db2 relational database?

567


What is the use of predicate?

580


How to create backup table in db2?

638


What are catalog tables in db2?

601


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

619


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

623


How does db2 sample database connect?

566


What is reorg and runstats in db2?

686


How to find schema of a table in db2?

568


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

604