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
What is sqlca?
What is a bind in db2?
When the like statement is used?
Name the various locking levels available?
Explain about rct.
What is the latest version of ibm db2?
What is dbrm in db2 database?
How to fetch the last row from the table in SQL (db2)?
What is db2 connect?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?
What is the clustering index in the db2 database?
What is runstats and reorg in db2?
What is a db2 package?
What r the comman abends in db2, jcl and cobol???????