how can we retrieve the 100 records of the file ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I delete a table in database?

591


What language is db2 written in?

590


Can we insert update delete in view?

567


What is a db2 package?

594


What is the difference between cursor stability and repeatable read isolation levels?

665






Outputs of explain are with matchcols = 0. What does this signify?

609


What is a system catalog table in db2?

576


What is phantom read in db2?

632


How can you count the number of rows from a table tab?

627


How do I add a column to an existing table in db2?

578


How do I copy a table in db2?

569


If I have a view which is a join of two or more tables, can this view be updateable?

684


What is a db2 tablespace?

591


What is the result of open cursor statement?

627


Explain the function done by data manager?

847