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
Repeated patterned tiles are reduced to unique samples or arranged into groups

Interview Question of the Week #034 – What is the Difference Between Distinct and Group By

August 30, 2015
Pinal Dave
SQL Interview Questions and Answers

Answer Interview Question of the Week #034 with runnable DISTINCT and GROUP BY examples, grouped totals, NULL rules, and a COUNT follow-up.

Read More
SQL SERVER - Remove All Characters From a String Using T-SQL

SQL SERVER – Remove All Characters From a String Using T-SQL

August 29, 2015
Pinal Dave
SQL Tips and Tricks

A follow up on how to remove all characters from a string, now handling special characters too. The trick: keep only ASCII 48 to 57 and join the digits.

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
Power Options window.

SQL SERVER – Are Power Options Slowing You Down? – Notes from the Field #095

August 27, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore

John Sterrett explains how Windows power options, like the default balanced power plan, can slow SQL Server down. Notes from the Field #095.

Read More
SQL SERVER - Script: Finding queries without JOIN Predicates

SQL SERVER – Script: Finding queries without JOIN Predicates

August 26, 2015
Pinal Dave
SQL Performance
SQL Scripts

During a code review I spotted a query missing its join condition. Here is a script for finding queries without JOIN predicates in SQL Server.

Read More
SQL SERVER - Database Mirroring login attempt failed - Connection handshake failed

SQL SERVER – Database Mirroring login attempt failed – Connection handshake failed

August 25, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Mirroring, SQL Scripts, SQL Server

While building an AlwaysOn demo I hit the Database Mirroring login attempt failed error with a connection handshake failure. Here is how I fixed it.

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
Previous 1 … 359 360 361 362 363 364 365 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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