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 action db2 takes when a program aborts in the middle of a transaction?

659


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2375


What do you mean by commit and rollback?

594


What are the two types of logging in the db2 database? Explain them.

580


What is schema in db2?

576






How to check sequence on a table in db2?

600


What is cursor in dbms?

591


What are packages in db2?

597


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1597


What are catalog tables in db2?

606


What is the role of union all and union

650


What is db2 command?

586


What is db2 stogroup?

675


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

4181


what is utility for parm lib

1876