Click here to Skip to main content
12,697,178 members (24,000 online)
Click here to Skip to main content
Articles » Database » Database » SQL Server » Revisions

Stats

41.1K views
12 bookmarked
Posted

SQL Server: TOP…WITH TIES - A Beauty of TSQL

, 19 Apr 2013 CPOL
The TOP clause is commonly used to get the top required rows from a result set. The beauty of this clause is that it can be used with the WITH TIES clause to retrieve all similar rows to a base result set.

Revisions


  

Compare Revision Minor Date Status Editor
6 - publicly available No 19-Apr-13 0:56 Available Smitha Nishant
Updates in content. 25 changes had been made.
5 No 2-Apr-13 4:20 Available Deeksha Shenoy
Updates in content. 35 changes had been made.
3 No 21-Oct-12 3:38 Pending aasim abdullah
screen shot files saved on codeproject
2 No 20-Oct-12 17:00 Pending aasim abdullah
Updates in content. 7 changes had been made.
1 No 20-Oct-12 16:59 Pending aasim abdullah
Initial creation

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

aasim abdullah
Team Leader CureMD
Pakistan Pakistan
Aasim Abdullah is working as SQL Server DBA with CureMD (www.curemd.com) based in NY, USA. He has been working with SQL Server since 2007 (Version 2005) and has used it in many projects as a developer, administrator, database designer. Aasim's primary interest is SQL Server performance tuning. If he finds the time, he like to sketch faces with graphite pencils.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170118.1 | Last Updated 19 Apr 2013
Article Copyright 2012 by aasim abdullah
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid