Shall i use this query to retrieve first 4 records,

Select empno, sal from emptbl where empno < 5. like this can
we fetch first 100 records?

Answer Posted / anju

I dont think records are stored in the sorted order of primary key in DB2. It happens only in VSAM!

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define data page.

628


How to view db2 table structure?

589


Is db2 a programming language?

602


List down the types of triggers in the db2 database?

588


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.

2322






What are catalog tables in db2?

604


What is buffer pool in the db2 database?

614


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 ?

1818


What is dclgen (declaration generator)?

601


Define db2 and its databases?

618


What do you mean by rollback?

572


What is db2 look?

574


How to check sequence on a table in db2?

598


what is utility for parm lib

1873


How can you find out the # of rows updated after an update statement?

637