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
Define buffer pool.
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
What is the usage of open cursor command?
What is the use of db2?
What is buffer pool in the db2 database?
What is access path in db2?
What is the difference between dbm cfg and db cfg file in db2 ?
What is alias in db2?
My sql statement select avg(salary) from emp yields inaccurate results. Why?
If I have a view which is a join of two or more tables, can this view be updateable?
How does a cursor work?
Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.
What is the syntax for seeing the columns and data types of a table in the db2 database?
Can you use max on a char column?
How do you select a row using indexes in db2?