How can you split a table in to exactly half?
Answer Posted / nirmal khatri
Hi
We can do it by SQL also, below is SQL which is working on
iSeries(AS/400)
insert into nk11581/temp1 (select * from nk11581/temp1
where rrn(temp1) in(
SELECT distinct dec((rrn(temp1)/2)) FROM nk11581/temp1
))
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to find the maximum value in a column in the db2 database?
What is bind and rebind in db2?
Why do chiropractors use drop table?
Which isolation level provides highest data integrity?
what is diffrence b/w file-aid tool and file-aid utility???
How can you count the number of rows from a table tab?
What types of tables are there in the db2 database?
Before you give the explain statement, what are the prerogatives?
How many databases can be created inside an instance in db2 ?
What is dbrm? When it will be created?
How can record locking be achieved in those DB2 versions which do not support it?
What is the function of logging in the db2 database?
What is db2 optimizer?
Is it possible using max on a char column?
What is precompiler in db2?