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
A hand tapping a plaster cast of a carved column top in a workshop, the original column visible outside.

Running DBCC CHECKDB on a Restored Copy Instead of Production

December 28, 2019
Pinal Dave
SQL Tips and Tricks
Database Corruption, DBA, SQL Backup and Restore, SQL Server DBCC

Run CHECKDB on a restored copy to validate a recoverable backup, retain the full check output, and understand what remains untested.

Read More
A pot of rice cooking under a clear glass lid, grains visible through the mist, a spoon resting untouched beside it.

Lightweight Query Profiling: Live Progress Without the Old Overhead

December 27, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL DMV, SQL Monitoring, SQL Server, SQL Server 2019

Use lightweight query profiling to inspect live operator rows and in-flight plans, while avoiding misleading progress percentages.

Read More
A lone railway carriage standing lit at a platform after its engine has uncoupled and left.

GLOBAL_TEMPORARY_TABLE_AUTO_DROP: Keeping ## Tables Alive on Purpose

December 26, 2019
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Configuration, SQL TempDB, Temp Table

Understand GLOBAL_TEMPORARY_TABLE_AUTO_DROP, its version and database scope, explicit cleanup, and the risks of shared global tables.

Read More
A hand holding a tulip bulb, paused above a spot where a shoot already grows in a garden bed.

Loading Only New Rows: INSERT SELECT With NOT EXISTS

December 25, 2019
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Constraint and Keys, SQL Scripts, SQL Server

Make loading only new rows repeatable with NOT EXISTS, EXCEPT, source deduplication, and a unique key that protects the destination.

Read More
A checkered cloth spread on market cobblestones as a makeshift stall, with a short row of lemons and one blood orange.

The VALUES Table Constructor: Using a List as a Table

December 24, 2019
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server, SQL Table Operation, Temp Table

Use a VALUES table constructor for inline mappings and joins, understand the INSERT row limit, and move larger reusable lists into tables.

Read More
A toast rack on a breakfast table, some slots holding toast and some empty, beside a small jar of marmalade.

How Much Space Does a NULL Take? NULL Storage in Rows

December 23, 2019
Pinal Dave
SQL Tips and Tricks
Compression, SPARSE Columns, SQL Data Storage, SQL NULL, SQL Server

Measure NULL storage in ordinary rows, compare fixed and variable columns, inspect record size, and test sparse and compressed designs.

Read More
A cat with a new collar remains the same cat, beside its old collar

Can Admin Rename SA Account in SQL Server? – Interview Question of the Week #256

December 22, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Question: Can Admin Rename SA Account in SQL Server?

Answer: Yes, of course. The syntax for to rename SA account is very simple:

Read More
Previous 1 … 130 131 132 133 134 135 136 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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