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
Gouache painting of a telescope on a harbor wall watching one vermilion sailboat move among anchored boats

Watch a Running Query: Live Plan From Activity Monitor

September 2, 2020
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Activity Monitor, SQL DMV, SQL Scripts

To watch a running query, open Activity Monitor in SSMS 22, find the query in Active Expensive Queries, and open its live execution plan. It also shows the settings that older versions need and a T-SQL query that reads the same facts.

Read More
A young bird on the edge of its nest, wings half open, a red berry on the branch.

Giving Your First SQL Server Talk at a User Group

August 29, 2020
Pinal Dave
SQL Tips and Tricks
Career Advice, Professional Development, SQL Server, SQL User Group

Prepare your first SQL Server talk with one real problem, two resettable demos, a timed thirty-minute outline, a rehearsal, and a backup plan.

Read More
Gouache painting of an open wooden record player with a record on the turntable with a vermilion label

Device Is Not Ready: Fix Operating System Error 21

August 15, 2020
Pinal Dave
SQL Tips and Tricks
Database Corruption, Disk, SQL Error Messages, SQL Server

Device Is Not Ready is the Windows text behind operating system error 21, which SQL Server reports inside error 823. This post explains what the message means, lists the common causes, and gives read-only checks to run before any restart. It ends with the DBCC CHECKDB step that proves the database is healthy.

Read More
patch your SQL

Patch Your SQL Server – SQL in Sixty Seconds #100

August 13, 2020
Pinal Dave
SQL Tips and Tricks
Cumulative Update, SQL in Sixty Seconds, SQL Patch, SQL Server, SQL Service Pack

When did you last time patch your SQL Server? I often discuss this question with my clients, I get many different kinds of answers.

Read More
A wide old rocking chair left on the pavement outside the narrow door of a new apartment block.

Moving to Azure SQL Database: The Features You Give Up

August 10, 2020
Pinal Dave
SQL Tips and Tricks
Cloud Computing, SQL Azure, SQL Migration, SQL Server

Plan moving to Azure SQL Database by finding Agent jobs, cross-database references, CLR, FILESTREAM, linked servers, and recovery changes.

Read More
Gouache painting of nested clay bowls on the left and the same bowls spread apart on the right, with the smallest bowl vermilion

TSQL_SCALAR_UDF_INLINING: How to Disable Scalar UDF Inlining

August 1, 2020
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL Server 2019

TSQL_SCALAR_UDF_INLINING is the database scoped setting that switches scalar UDF inlining off. This post builds a demo database, proves with execution counts that inlining is on or off, and shows the narrower switches at function and query level. It ends with the undo statement.

Read More
Gouache painting of six mugs in a row on a shelf in cream, slate blue, vermilion, sage and grey

Day Name From Date in SQL Server: DATENAME, FORMAT and More

July 27, 2020
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

Finding the day name from date values takes one function, but three methods exist, and they differ on language and speed. This post compares DATENAME, FORMAT and a formula that ignores language and DATEFIRST. It measures all three on a million rows and shows how the session language changes the result.

Read More
Previous 1 … 45 46 47 48 49 50 51 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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