i have a table like this :
Name ADDRESS
Toto 123 ...
Toto 456
ToTo 678
I would like to delete 2 last row...please tell me how to
delete its
Answer Posted / suv
We can use concept of cursor to delete particular row. The
row where the cursor is pointing will get deleted.
Please correct is wrong..
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the physical storage length of the data types date, time, and timestamp?
How do you find the maximum value in a column in db2?
Explain about rct in db2?
How to create db2 table in mainframe?
What do you mean by commit and rollback?
What is phantom read in db2?
What is the meaning concurrency in the db2 database?
What is the use of commit in db2?
How to rename a table in DB2 ?
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
How to execute stored procedure in db2 command editor?
I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.
What is the difference between dbm cfg and db cfg file in db2 ?
What is package in db2 mainframe?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference