-
selecting limited number of records
is it posiible to select limited number of records from sql server database?
there is "limit" and "offset" command in mysql and some other
databases that aloow it but in MS sql server didn't work.
-
Yes. You may use SET ROWCOUNT and/or SELECT TOP to limit the number of rows returned by a query.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|