View previous topic :: View next topic |
Author |
Message |
salimo Beginner
Joined: 18 Jun 2004 Posts: 6 Topics: 4
|
Posted: Fri Jun 18, 2004 5:36 pm Post subject: Select TOP 10 in DB2 SQL- SPUFI |
|
|
Any help with how to accomplish getting the TOP 10 rows
from any Table in DB2 SQL, using SPUFI.
I've read the DB2 SQL manual, and it talks about OPTIMIZE FOR, but thats for embedded code.
I cannot find an equivalent DB2 SQL Function for TOP 10
Any thoughts on a select as:
Select TOP 10 MAX(Salary), Emp_name ?
Thank you. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
salimo Beginner
Joined: 18 Jun 2004 Posts: 6 Topics: 4
|
Posted: Tue Jun 22, 2004 7:32 am Post subject: TOP N / THANKS |
|
|
Thank you Kolusu,
I totally missed the SEARCH ENGINE is a terrible thing to waste.
I will use it before posting.
Thanks again. |
|
Back to top |
|
 |
|
|