i want to delete 20th million record how ?

Answer Posted / magesh

delete from (select row_number() over() as COLUMN1 from
TABLE_OWNER.TABLE_NAME )
where COLUMN1=20000000;

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2367


What are db2 objects?

630


How to connect to db2 database from windows command line?

553


What is db2 optimizer?

761


While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

1802






How do I change the column size in db2?

578


What is dbrm?

630


Is db2 a mainframe database?

555


What are the contents of dclgen?

641


What is the physical storage length of time data type?

658


What is db2 connect?

592


What is db2 look?

565


What is the difference between using bind () and rebind () methods of naming class?

769


Define sqlca.

638


Before you give the explain statement, what are the prerogatives?

569