how to fetch first 100 rows in db2
Answers were Sorted based on User's Feedback
What are the prerogatives?
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?
query to just fetch first matching row and stop execution. once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop
Name the different types of Table spaces.
What db2 400?
What is lock contention?
What is precompiler in db2?
if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.
Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code?
What is db2 plan table?
cursor with hold explain ?
Mention the definition of cobol in varchar field.