If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Rows Retrieved In A Query
Is there a way to limit the number of rows retrieved in a query?
-- Tanya |
#2
|
|||
|
|||
Rows Retrieved In A Query
SELECT TOP 50 ...
Will return the first 50 records based on the ORDER BY that meet the criteria. It can return more than 50 records if there are ties in criteria. "Tanya" wrote: Is there a way to limit the number of rows retrieved in a query? -- Tanya |
#3
|
|||
|
|||
Rows Retrieved In A Query
It worked great, thanks.
-- Tanya "Klatuu" wrote: SELECT TOP 50 ... Will return the first 50 records based on the ORDER BY that meet the criteria. It can return more than 50 records if there are ties in criteria. "Tanya" wrote: Is there a way to limit the number of rows retrieved in a query? -- Tanya |
Thread Tools | |
Display Modes | |
|
|