how can we retrieve the 100 records of the file ?
Answers were Sorted based on User's Feedback
Answer / lu
your qestion is not clear ??? first 100 rows or 100 rows
any where ??
this is FIRST 100 row :
SELECT * FROM TABLE
FETCH FIRST 100 ROWS ONLY
now if u want retrieve 100 rows in any table, you have to
create a counter ....
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / anjireddy vintha
select * from tabblename where rownum<101
| Is This Answer Correct ? | 3 Yes | 4 No |
What is sqlca?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
What will the DB2 optimizer do?
I have a main program (A) where we delete some rows in table in a cursor, and we commit it in sub program(B). What will happen - will we get an error or not?
what are the copybook changes generally we done?can anyone tell me......... Thanks in advance........
What are the different types of base tables?
How to resolve -917 sql code in DB2?
I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?
how to resolve -811 error. give clear explination
What is the purpose of the QUIESE Utility?
What is the maximum No of rows per page?
i want to maintain uniqueness on pdf without make lf??????????