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

How connect db2 database to datastage?

763


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1651


What are union and union all?

539


What is collection in db2 bind?

577


How does coalesce work?

586






What is lock escalation in db2?

574


What is a db2 collection?

605


Explain about rct.

650


What is the physical storage length of date data type?

728


What is null value in db2?

565


What is drop table?

584


What is a db2 cursor?

626


What is a storage group (stogroup)?

774


What is the max length of sqlca?

764


List out the data types available.

704