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 db2 stogroup?

890


What are concurrency issues?

804


Which command is used to connect to a database in DB2 ? Give the Syntax.

830


How do I optimize a query in db2?

824


Can there be more than one cursor open for any program?

904


What happens in bind step in a db2 program?

725


How to resolve deadlock issue

19008


What is db2 optimizer?

991


What is rct?

975


What is cascading rollback?

854


Which are the db2 tools to protect integrity of the database?

901


How to find the maximum value in a column in the db2 database?

815


How do I copy a table in db2?

754


Are view updateable?

813


What is the physical storage length of time data type?

883