Re: LIMIT in MS SQL
| From: | Trey Sheldon | Date: | Mon, 12 Mar 2001 14:35:38 +0000 |
| Subject: | Re: LIMIT in MS SQL | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7326@lists.php.net to get a copy of this message | ||
Yep there is- its called TOP
Example:
SELECT TOP 2 *
FROM Table
Fredrik Wahlberg wrote:
> Is there any equivalent to MySQL's ?LIMIT x,y? in Microsoft SQL-Server?
>
> /Fredrik
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net