Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
reflex2dotnet
Yak Posting Veteran
99 Posts |
Posted - 2007-03-12 : 11:23:50
|
Hi friendsHow can i select the first five records from the table?Thanks |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2007-03-12 : 11:27:55
|
Term "First n records" has no meaning in the RDBMS unless you specify on what basis you decide first or last record.Select Top 5 *from TableOrder by SomeColumn -- this is important Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
reflex2dotnet
Yak Posting Veteran
99 Posts |
Posted - 2007-03-12 : 12:46:16
|
Thanks |
 |
|
|
|
|