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 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
Create Index on it.

Indexing Basics Course: Learning SQL Server Performance

March 8, 2012
Pinal Dave
SQL Video
Execution Plan, SQL Index, SQL Training

Vinod Kumar and I released an indexing basics course in 2012. This post keeps the original outline and cartoon, and adds tests on SQL Server 2025 for four of its practical topics: column order, functions on indexed columns, filtered indexes and disabled indexes.

Read More
Gouache painting of a database character beside a stopwatch

T-SQL Errors and Reactions Demo: SQL in Sixty Seconds #005

March 7, 2012
Pinal Dave
SQL Video
SQL Error Messages, SQL in Sixty Seconds, SQL Scripts

This T-SQL errors and reactions demo follows episode #002 with queries you can run. It shows what a CATCH block can read, how severity is stored, how to log a failure and keep going, and why THROW keeps the original error while RAISERROR replaces it.

Read More
A saved dressmaking pattern on a hook, fabric and red pins ready on the table

Optimized Plan Forcing: Cutting Compile Time in SQL Server 2022

March 6, 2012
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2022

Check optimized plan forcing in SQL Server 2022 through scoped configuration and Query Store replay flags, then compare compile duration.

Read More
Previous 1 … 547 548 549 550 551 552 553 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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