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: three wooden stands in a meadow

EXISTS: A Row Containing NULL Still Exists

February 17, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

EXISTS answers whether qualifying rows exist. Keep missing values separate from missing rows and preserve the intended correlation.

Read More
OUTPUT INTO illustrated by a botanical printing block, blue and ochre impressions and a preserved paper stack on a printmaking bench.

OUTPUT INTO: Record Old and New Values in One Write

February 7, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Table Operation

OUTPUT INTO records old and new values during a write, while the transaction determines whether the change survives. Test NULL transitions, unchanged values, rollback and target failures before treating captured rows as committed history.

Read More
Two plain notebooks lie open with blank pages and a wooden pencil between them.

Using Query Store to Prove an Upgrade Did Not Hurt

January 12, 2011
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Plan a Query Store upgrade comparison with a captured baseline, matched workload periods, regression review, and carefully monitored plan forcing.

Read More
Two wooden house-shaped blocks with keyholes stand beside two plain metal keys on a table.

Restoring to a Newer SQL Server Is a One-Way Trip

December 24, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Backup and Restore, SQL Server

Plan a restore to newer SQL Server with the version boundary in mind, preserve the original backup, and understand options for moving data back.

Read More
A brass identification plate riveted to a machine housing, its stamped surface worn smooth and blank, lit by a torch beam from one side.

How to Check Your SQL Server Version, Edition and Patch Level

December 19, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Check your SQL Server version, edition and patch level with one query. How to read the build number, why ProductLevel still says RTM on a patched server, and the edition surprise a health check finds most often.

Read More
Broken washing machine with overflowing clothes and sullen boy.

SQL SERVER – What the Business Says Is Not What the Business Wants

December 14, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Shrinking Database

Let us discuss about What the Business Says Is Not What the Business Wants. Steve raised a very interesting question.

Read More
An analogue instrument panel of round gauges on a machine, one needle sitting in the red band.

SQL SERVER – Activity Monitor and Performance Issue

December 12, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Utility

A small story with a big moral about Activity Monitor and performance issue: a client left the tool open, and the monitor itself slowed the server down.

Read More
Previous 1 … 27 28 29 30 31 32 33 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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