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

Explain correlated sub-queries.

663


What is the maximum size of a char data type in db2?

672


What is package in db2 mainframe?

637


What is data manager?

695


How can deadlocks be resolved?

626






What are bind parameters in db2?

691


What is the result of open cursor statement?

716


Why do we bind in db2?

737


Where do you specify them?

770


What are iseries servers?

644


What is the purpose of rollback and commit?

678


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

832


What is ibm db2 used for?

697


What is the cobol picture clause of the db2 data types date, time, timestamp?

705


DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

2383