how will you retrieve first record in table



how will you retrieve first record in table..

Answer / saravana

select empname,empno from tablename order by empno fetch
first row only;

Is This Answer Correct ?    11 Yes 0 No

Post New Answer

More DB2 Interview Questions

How to run db2 command in windows?

0 Answers  


What is the purpose of the WHENEVER statement?

1 Answers  


what is the steps followed in EXPLAIN Process or EXPLAIN command. (Explain is for identifying the optimized access path but how or what is the steps for doing the EXPLAIN)

4 Answers   IBM,


What is a cursor in programming?

0 Answers  


What does CURRENTDATA option in bind indicate

1 Answers   IBM,






What is the difference between drop table and delete table?

0 Answers  


what is the use of commit ? and what is the syntax?

2 Answers   Deloitte,


What is reorg and runstats in db2?

0 Answers  


In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.

5 Answers   CTS,


What are db2 objects?

0 Answers  


What are the contents of a DCLGEN?

4 Answers   MetLife,


What is the difference between using bind () and rebind () methods of naming class?

0 Answers  


Categories