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 taps a whole watermelon at a market stall, with an unused knife on the counter

Reading a Backup File Before You Restore With RESTORE HEADERONLY

March 15, 2012
Pinal Dave
SQL Tips and Tricks
Compression, DBA, SQL Backup and Restore, SQL Server

Use RESTORE HEADERONLY to identify backup sets, source versions and finish dates before selecting a restore and checking the media.

Read More
A grain flail beside aligned stalks with varied individual seed heads

A Separate Clustered Index for a Nonclustered GUID Primary Key

March 12, 2012
Pinal Dave
SQL Performance
Database, SQL Scripts, SQL Server

The primary key and the clustered index are two different jobs. This demo keeps the GUID as the public ID and clusters on an identity column instead.

Read More
A shop window with a clean rectangular section wiped in the condensation, showing part of the display behind

What Is a View in SQL Server?

March 11, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

A view in SQL Server is a saved query, not a saved copy. Nothing is stored, the text is run every time, and that single fact explains what a view is good for and why it never makes anything faster.

Read More
A tile suction lifter moves a ceramic tile between two padded supports

Cleaning Up Ownership Before Dropping a Departed User

March 10, 2012
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

DROP USER fails when the user still owns a schema, a role or a table. Here is how to find those owners and hand them over safely.

Read More
An old metal key rests beside a newer unmarked key on folded plain linen.

Finding Deprecated Features Before They Bite

March 9, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Find deprecated features with SQL Server counters, event metadata, and code searches, then separate future risk from features already removed.

Read More
A shelf of thick matching binders in an engineering office, the spines blank.

SQL SERVER – Technical Reference Guides for Designing Mission-Critical Solutions

March 4, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL White Papers

While helping a friend, I found the Technical Reference Guides for Designing Mission-Critical Solutions, an interactive map of architecture guidance.

Read More
A flax comb with finished fibers held aside by a small retaining band

Stopping a Trigger From Firing Itself With TRIGGER_NESTLEVEL

March 2, 2012
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

A timestamp trigger that updates its own table can loop until SQL Server gives up. Here is the small guard that stops it, with a demo you can run.

Read More
Previous 1 … 299 300 301 302 303 304 305 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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