This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - What is the OVER Clause? - Notes from the Field #101

SQL SERVER – What is the OVER Clause? – Notes from the Field #101

November 4, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function, SQL Scripts, SQL Server

The OVER Clause arrived in SQL Server 2005, yet few know all its uses. In Notes from the Field #101, Kathi Kellenberger explains it with window functions.

Read More
SQL SERVER - Database Testing and Waitfor Delay - Notes from the Field #099

SQL SERVER – Database Testing and Waitfor Delay – Notes from the Field #099

October 9, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function

Kevin Hazzard shows how WAITFOR DELAY helps with database testing, like mocking procedures that simulate client data for ETL. Notes from the Field #099.

Read More
SQL Server Result Table.

SQL SERVER – What’s the Difference between ROW_NUMBER, RANK, and DENSE_RANK? – Notes from the Field #096

September 3, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function

Kathi Kellenberger explains the difference between ROW_NUMBER, RANK, and DENSE_RANK, three T-SQL window functions, in Notes from the Field #096.

Read More
Decimal value with scale shown.

SQL SERVER – Different Methods to Extract Scale Part From Decimal Number

August 28, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function

Need only the digits after the decimal point? Here are different methods to extract scale part from decimal numbers, using ABS with CAST or string functions.

Read More
A brass nameplate on an office door, unscrewed at one corner and hanging crooked.

SQL SERVER – Fix @@ServerName Property Value When Incorrect

August 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Function

A colleague’s @@ServerName returned NULL instead of the server name. Here is why the value can be wrong and how to fix the @@ServerName property.

Read More
SQL Server Total Sales.

SQL SERVER – What are T-SQL Median? – Notes from the Field #090

July 23, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function

SQL Server has no MEDIAN function. Kathi Kellenberger explains what a median is and how to calculate a T-SQL median in Notes from the Field #090.

Read More
Tool window showing query with app name function.

SQL SERVER – Knowing the Source Application Using APP_NAME() Function

June 30, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function

The APP_NAME() function returns the application name of the current session. See what it returns in SSMS and how it helps you audit where data comes from.

Read More
Previous 1 … 20 21 22 23 24 25 26 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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