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
Two strings of drying chillies by a window, one twice as long, a red needle on the sill.

Proving a Tuning Change Worked With Before and After Numbers

March 10, 2020
Pinal Dave
SQL Performance
Best Practices, Query Store, SQL Performance, SQL Server

Prove a tuning change with before and after numbers from Query Store for CPU, reads, duration, and comparable execution volume.

Read More
Gouache painting of an old oak with a vermilion ribbon beside a stump showing growth rings, with young saplings nearby

Msg 17177 in the SQL Server Error Log: What It Means

March 9, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Scripts, SQL Server Services

Msg 17177 is an informational line in the SQL Server error log that reports the process ID of the instance. This post explains its two forms, a daily line and a start-up line, and reads both with a short query. It also shows how the line reveals uptime, downtime and the time zone of the server.

Read More
Similar oak leaves with different surface appearances share one sorting compartment

How to Do Case Insensitive Search? – Interview Question of the Week #267

March 8, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Collation, SQL Scripts, SQL Search, SQL Server

Question: How to Do Case Insensitive Search?

Collations in SQL Server provide sorting rules, case, and accent sensitivity properties for your data.

Read More
Gouache painting of attic shelves with a few shiny pots, many dusty ones and a vermilion broom leaning on the shelf

Remove Cached Plans Not Used for a Set Time in SQL Server

March 7, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Scripts, SQL Server DBCC

To clear cached plans not used for a set time, list the plans by their last execution time or by the time they were built, then clear each one by its plan handle. This post builds a small procedure that previews the plans first and removes them only when you switch it on. It also explains why the plan handle needs its 0x prefix.

Read More
Several intact gears sit in a fitted case beside separate maintenance and inspection tools.

SQL SERVER Management Studio – Rebuild All Indexes on Table

March 6, 2020
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server, SQL Server Management Studio

SSMS can open a Rebuild All dialog for table indexes. An e-commerce customer discovered this shortcut during my health check.

Read More
Gouache painting of a seedling tray with most cells sprouted and three empty, with a vermilion watering can beside it

Count NULLs in a Column in SQL Server: Five Ways Compared

March 5, 2020
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Group By, SQL NULL, SQL Scripts

To count NULLs in a column, filter with IS NULL and count the rows, or subtract COUNT(column) from COUNT(*). This post tests five ways on 100,000 rows and compares their page reads. It also counts NULLs in several columns at once and shows the NULL group in GROUP BY.

Read More
Title card: Setup Account Does Not Have Administrator Rights

SQL SERVER – Install Error – The Account Running SQL Server Setup Does Not Have Administrator Rights On the Computer. To Continue, Use an Account With Administrator Rights

March 4, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server 2019, SQL Server Installation, SQL Server Security, Starting SQL

In this blog, I would share the steps to identify and fix error – The account running SQL Server Setup does not have administrator rights on the computer.

Read More
Previous 1 … 120 121 122 123 124 125 126 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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