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
Efficient Query

Performance Challenge – Write Efficient Query – SQL in Sixty Seconds #140

October 30, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Operator, SQL Performance, SQL Scripts, SQL Server, SQL Server Management Studio

Recently while working with my client I ended up in a very interesting situation where my client wanted me to write an Efficient Query.

Read More
Title card: Error 8632: Expression Services Limit Reached

SQL SERVER – Fix Error 8632 – Internal Error: An expression Services Limit Has Been Reached

October 29, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Upgrade

When we tried to run a few of their stored procedure. How we can fix Error 8632 – Internal Error: An expression Services Limit Has Been Reached.

Read More
Gouache painting of a wall of wooden cubbies holding envelopes, with one vermilion envelope in one cubby

Scan Count Zero in STATISTICS IO: What the Number Means

October 28, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Statistics

Scan count zero in STATISTICS IO is not an error and not a free read. This post runs nine small queries and shows what 0, 1, 2 and 5 mean, why a unique lookup counts as zero, and why logical reads are the number to compare.

Read More
statistics time

SET STATISTICS TIME ON – SQL in Sixty Seconds 139

October 27, 2020
Pinal Dave
SQL Video
SQL DateTime, SQL in Sixty Seconds, SQL Statistics

Do you know how long your query took to execution? Well, let us learn that today in SQL in Sixty Seconds. We will discuss SET STATISTICS TIME ON.

Read More
A burning candle with an iron nail in its side above a pewter dish, a red ribbon below.

Alerting on Long-Running Queries With a SQL Agent Job

October 26, 2020
Pinal Dave
SQL Performance
Database Mail, SQL DMV, SQL Monitoring, SQL Server, SQL Server Agent

Alert on long-running queries with a five-minute SQL Agent job, a deduplicated log, and one Database Mail notice per new request.

Read More
An existing overgrown garden section remains beside newly planted orderly seedlings

How to Add Constraint With No Validation? – Interview Question of the Week #299

October 25, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL Error Messages, SQL Identity, SQL Scripts, SQL Server

Question: How to Add Constraint With No Validation?

Answer: I got this question from one of my clients of who is an Oracle user.

Read More
Gouache painting of three padlocks on a bench, each with a vermilion key in it

Check Constraint on Identity Column: Why Inserts Fail

October 24, 2020
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Identity, SQL Scripts

A check constraint on identity column values can make every insert fail, because the identity moves on whether or not the row is accepted. This post reproduces the failure, shows that the failed attempts still use up identity values, and lists every such constraint in a database with one query.

Read More
SSMS and ADS

Single Installer for SSMS and ADS – SQL in Sixty Seconds #138

October 23, 2020
Pinal Dave
SQL Video
Azure Data Studio, SQL Azure, SQL in Sixty Seconds, SQL Server, SQL Server Management Studio

Microsoft has recently released a single installer which now installs SSMS and ADS both together in a single Installation. 

Read More
Outdated Statistics

Find Outdated Statistics – SQL in Sixty Seconds #137

October 22, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Server, SQL Statistics

Is it possible that your statistics are many years old but still are valid? It is difficult to find Outdated Statistics is not as easy as it seems.

Read More
Gouache painting of a pantry shelf of fresh jam jars with one dusty jar with a vermilion lid at the back

Oldest Statistics in SQL Server: Find the Stale Ones First

October 21, 2020
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Statistics

To find the oldest statistics in SQL Server, read the last update time and the number of changes since. This post builds a small demo, lists every statistic with its age and percent changed, and shows why a high change count on its own is not a reason to update by hand.

Read More
Previous 1 … 60 61 62 63 64 65 66 … 591 Next
  • Books
  • Testimonials
  • Privacy Policy

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