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 swept doormat with a pile of old brass keys aside and one vermilion key in the middle

DBCC FLUSHAUTHCACHE: Force Azure SQL to Re-authenticate

June 25, 2019
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Login, SQL Scripts, SQL Server Security

DBCC FLUSHAUTHCACHE clears the authentication cache of an Azure SQL database, so open connections must authenticate again. This post shows what a password change does to open sessions on SQL Server, why Azure SQL needs the extra command and how to list the sessions you want to end. It also covers the cautions that matter.

Read More
A string of glowing garden lights with one dark bulb, a replacement waiting on a stepladder.

Removing a Bad Plan From Cache Without Clearing Everything

June 24, 2019
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL Performance, SQL Server

Remove one bad plan from cache by handle, compare narrower recompilation choices, and fix the cause so the plan stays healthy.

Read More
Completed ceramic tiles are filed in a cabinet beside a tray awaiting storage

What are the Different Types of SQL Server CHECKPOINT? – Interview Question of the Week #230

June 23, 2019
Pinal Dave
SQL Interview Questions and Answers

Question: What are the Different Types of SQL Server CHECKPOINT?

Answer: There are four different kinds of checkpoints in SQL Server.

Read More
Smart speaker glowing yellow beside a parcel and an empty notification tray

Personal Technology – Blinking or Flashing Yellow Light in Alexa – Solution

June 22, 2019
Pinal Dave
Personal
Personal Technology

Yellow Light on Alexa with no messages? Check notifications and reminders, then adjust Amazon Shopping alerts without silencing everything.

Read More
Gouache painting of six clay pots on a potting bench, five tipped over and empty, one upright vermilion pot

Drop Tables by Prefix in SQL Server and Azure SQL Database

June 21, 2019
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Cursor, SQL Scripts, SQL Table Operation

To drop tables by prefix, list the matching tables first and drop them with a script that quotes every schema and table name. This post shows why the underscore in a prefix is a trap, a one-statement version and a cursor version. It works in SQL Server and in Azure SQL Database.

Read More
A filling bathtub with a red float tied to a small brass bell on the rim.

Performance Condition Alerts: Warnings Before a Log File Fills

June 20, 2019
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Server Agent, Transaction Log

Build performance condition alerts for log usage, tempdb free space, and blocking, with sensible delays and an operator response.

Read More
Gouache painting of a row of wooden trays of sawdust on a workbench with the overflowing one in vermilion

TempDB Performance: Five Settings to Check in SQL Server

June 19, 2019
Pinal Dave
SQL Performance
Best Practices, SQL Data Storage, SQL Scripts, SQL Server, SQL TempDB

TempDB performance depends on five settings that you can read in a few minutes: how big it is, how many data files it has, whether they match, how it grows and where it lives. Three read-only queries check each one. The post also explains what to do with the answers.

Read More
Previous 1 … 157 158 159 160 161 162 163 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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