![]() | |
#11
| |||
| |||
|
|
Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO |
#12
| |||
| |||
|
|
Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO |
#13
| |||
| |||
|
|
Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO |
#14
| |||
| |||
|
|
On May 18, 1:23 pm, y.ambro... (AT) yahoo (DOT) fr wrote: Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO Use a cursor and stop iterating after the first 100 fetches. There is no standard way in SQL to define the "TOP(100)". |
#15
| |||
| |||
|
|
On May 18, 1:23 pm, y.ambro... (AT) yahoo (DOT) fr wrote: Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO Use a cursor and stop iterating after the first 100 fetches. There is no standard way in SQL to define the "TOP(100)". |
#16
| |||
| |||
|
|
On May 18, 1:23 pm, y.ambro... (AT) yahoo (DOT) fr wrote: Dear Roy, I am not sure that you caught my problem. The only thing I would like to know is : To be able to get the top rows from a table even if the ordering /way of sorting (ORDER BY CLAUSE) is made by DESC or ASC Can you help me ? Regards A.YAO Use a cursor and stop iterating after the first 100 fetches. There is no standard way in SQL to define the "TOP(100)". |
![]() |
| Thread Tools | |
| Display Modes | |
| |