Jun 2026 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
  • Hire Me
  • Health Check

SQL SERVER – Query to Retrieve the Nth Maximum Value

April 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

Replace Employee with your table name, and Salary with your column name. Where N is the level of Salary to be determined. Let us see a query to retrieve the Nth Maximum Value.

Read More
Locking Hints

SQL SERVER – Locking Hints and Examples

April 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Lock, SQL Scripts, SQL Server

Locking Hints and Examples are as follows. The usage of them is the same but the effect is different. Let us learn it today together.

Read More

SQL SERVER – SELECT vs. SET Performance Comparison

April 27, 2007
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL Download, SQL Scripts, SQL Server Security
Usage: SELECT : Designed to return data. SET : Designed to assign values to local variables. While testing the performance of the following two scripts in query analyzer, interesting results are discovered. SET @foo1 = 1; SET @foo2 = 2; SET @foo3 = 3; SELECT @foo1 = 1, @foo2 =…
Read More
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com

Go to mobile version