The sum of all SQL Server matter that exist,
and the space in which all SQL Server events
occur or could occur.
Welcome to SQL Server Universe.com Sign in | Join | Help
in
Home SS SLUG Forums Articles Photos Downloads

Browse by Tags

All Tags » SQL Server 2005 » Row number   (RSS)
  • Re: get Records in Middle the Table

    Hi Harshana,There is no function available with SQL Server similar to ''LIMIT'' but you can get the result set as you want.Here is one the ways of limiting records with SQL Server 2000. SELECT  T.*FROM(    SELECT TOP 100 PERCENT (SELECT COUNT(*) FROM Person.Contact WHERE ContactID <= c.ContactID) AS RowNumbr, ...
    Posted to T-SQL (Forum) by dinesh on December 25, 2007
Powered by Community Server, by Telligent Systems