the MS SQL equivalent to MySQL's 'limit' commandThe MS SQL eqivalent of MySQL's LIMIT clause is TOP. Example:SELECT TOP 10 * FROM stuff; Will return the top ten rows, effectively doing the same thing as SELET * FROM stuff LIMIT 10; This was found here and has been verified by me that it actually works.
|
Written by dustin
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hey You! Subscribe to
dustin's RSS feed. | Members login here.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||