how to delete perticular row from table
for ex. how you will delete 3rd row from table
please answer
THANKS IN ADVANCE

Answer Posted / dalwinder singh

delete from (SELECT * FROM (SELECT col1,rownumber() over()
as rn from table where col =value) as tr where rn = 3)

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I delete a table in db2?

638


Explain the benefits you can get from mainframe connect?

518


What is plan in cobol db2?

580


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

694


How many databases can be created inside an instance in db2 ?

589






If I have a view which is a join of two or more tables, can this view be updateable?

685


What is performance tuning db2?

603


What is cursor in dbms?

577


What is coalesce in db2?

676


How to execute stored procedures?

614


What is the maximum No of rows per page?

622


What does db2 stand for?

593


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

739


B37 abend during spufi?

975


What is a bind in db2?

587