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 / tim v

Are we talking the 7th row as sorted by key or 7th physical row?   Since the rows aren't normally physically stored in order, I'd have to go with the latter.  

Everyone seems to assume there is a PK on the table, but yet we don't know anything about the data...  Again, this points to 7th physical row.

I'd go with the delete where RID(table) = 7 option since this assumes the 7th row inserted based on position and not value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are iseries servers?

643


Explain the function of data manager.

713


Define data page.

714


What is a db2 tablespace?

688


What is the meaning concurrency in the db2 database?

735






What are the various data types available in db2?

711


what is diffrence b/w file-aid tool and file-aid utility???

4331


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

1812


What is the use of value function?

727


My sql statement select avg(salary) from emp yields inaccurate results. Why?

735


Discuss about db2 bind?

747


How do I optimize a query in db2?

710


What is bind in db2?

679


What is buffer pool?

728


What is dclgen in db2?

776