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
Man eating in a restaurant.

SQLAuthority News – Author Visit – Meeting with Readers – Top Three Features of SQL SERVER 2005

May 28, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQLAuthority Author Visit

Over dinner in Las Vegas, two readers asked me to pick my top three features of SQL Server 2005 out of Microsoft’s top 30. Here is what I picked and why.

Read More
Three identical glass jars on a wooden shelf: one filled with rice, one holding a single grain, and one completely empty with its lid off.

What Is NULL in SQL Server? The Value That Isn’t a Value

May 21, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

NULL in SQL Server is not zero and not an empty string. It means the value is unknown, and that changes every comparison you write. Why equals never matches, the NOT IN trap that returns nothing, and where NULL is allowed to live.

Read More
A swinging trapeze in an empty circus tent above a safety net holding one red ball

Replacing @@ERROR Checks With TRY CATCH in Old Procedures

May 20, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server, SQL Stored Procedure, SQL Transactions

Replace fragile @@ERROR checks with TRY CATCH, transaction state checks, and THROW while preserving clear failure information for callers.

Read More
A small teacup lost inside a huge box of packing straw, next to a snug little box holding a matching cup.

Data Types That Waste Space

May 10, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Data Storage, SQL Datatype, SQL Index, SQL Server

Data types that waste space include oversized integers, blanket nvarchar(max), and unnecessary datetime2 precision; measure before changing.

Read More
Unmarked auger bits arranged in a wooden stand with one empty hole and a hand checking the tools.

Index Optimization Checklist: A Printable One-Page Guide

May 8, 2007
Pinal Dave
SQL Performance
Best Practices, Cheatsheet, Clustered Index, SQL Index

The twelve things I ask a junior DBA to check before I touch a slow query, with three quick proofs you can run yourself.

Read More
A pile of unsorted paper on a desk beside a neatly filed drawer with tabs

What Is a Heap in SQL Server?

May 4, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

A heap in SQL Server is a table with no clustered index. Forwarded records pushed one count from 11,113 reads to 199,844, and a single REBUILD put it back. When a heap is fine and when it is not.

Read More
SQL SERVER - Copy Column Headers in Query Analyzers in Result Set

SQL SERVER – Copy Column Headers in Query Analyzers in Result Set

May 1, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices

To copy column headers with your results in Query Analyzer, set Results to Text, Tab Delimited and turn on Print column headers in Options. Video included.

Read More
Previous 1 … 49 50 51 52 53 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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