how to fetch first 100 rows in db2

Answers were Sorted based on User's Feedback



how to fetch first 100 rows in db2..

Answer / sesha

SELECT * FROM TABLE
FETCH FIRST 100 ROWS
ONLY

Is This Answer Correct ?    34 Yes 2 No

how to fetch first 100 rows in db2..

Answer / jagan

select top 100 from tableName;

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More DB2 Interview Questions

How to create a table using embedded sql?

1 Answers  


What are some characteristics of columns that benefit from indexes?

1 Answers  


difference between group clause and order clause

1 Answers  


What is package versioning? Please give an example.

1 Answers  


Explain what are the various isolation levels possible?

0 Answers  


Why use RUNSTAT Utility?

3 Answers   Merrill Lynch,


How to find the maximum value in a column in the db2 database?

0 Answers  


Explain the contention situations caused by locks?

0 Answers  


How do I copy a table in db2?

0 Answers  


What is read-only cursor?

1 Answers  


Can you tell me how can you find out the # of rows updated after an update statement?

0 Answers  


What does db2 blu stand for?

0 Answers  


Categories