|
Posted by Erland Sommarskog on 02/25/07 10:18
Ed Murphy (emurphy42@socal.rr.com) writes:
> (I forget, how does/doesn't SELECT TOP 15 work in SQL 2K vs 2K5? I
> haven't had occasion to need to remember.)
They work the same. But SQL 2005 also has SELECT TOP(<expr)), so that
you can have a variable - or something even more complex.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|