dbTalk Databases Forums  

how to select 200 first records from table?

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss how to select 200 first records from table? in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dmitry Kulinich
 
Posts: n/a

Default how to select 200 first records from table? - 03-12-2007 , 06:14 PM







how to select 200 first records from table?


--
Thank you,
De Cool,
EPE

Reply With Quote
  #2  
Old   
Greg D. Moore \(Strider\)
 
Posts: n/a

Default Re: how to select 200 first records from table? - 03-12-2007 , 06:40 PM







SELECT TOP 200 <column list> from FOO ORDER BY <criteria>

--
Greg Moore
SQL Server DBA Consulting
Email: sql (at) greenms.com http://www.greenms.com

"Dmitry Kulinich" <dkul (AT) isd (DOT) dp.ua> wrote


how to select 200 first records from table?

--
Thank you,
De Cool,
EPE



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.