|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SQL help! percent rows returned
hi i was wondering if there is an equivelent of the 'top' function as sql server. i wish to return the 'top 10 percent' rows. i cant seem to find the function!
anuy ideas? thanks in advance! --atko |
|
#2
|
|||
|
|||
|
Not sure what "percent" u r asking
try this if you are looking for: select * from tablename fetch N rows only; |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > SQL help! percent rows returned |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|