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 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 - Good, Better and Best Programming Techniques

SQL SERVER – Good, Better and Best Programming Techniques

April 28, 2007
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Constraint and Keys, SQL Cursor, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server DBCC, SQL Server Security, SQL Stored Procedure, SQL Trigger

My notes for a programmers meeting on Good, Better and Best Programming Techniques in SQL Server, plus a funny bug ticket about a client who got no email.

Read More
SQL SERVER - Difference Between Unique Index vs Unique Constraint

SQL SERVER – Difference Between Unique Index vs Unique Constraint

April 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Index, SQL Scripts

Unique Index vs Unique Constraint: is there a difference? No. A unique constraint creates a unique index, and performance is the same. Syntax for both.

Read More
SQL SERVER - Query to Find Seed Values, Increment Values and Current Identity Column value of the table

SQL SERVER – Query to Find Seed Values, Increment Values and Current Identity Column value of the table

April 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Identity, SQL Index, SQL Scripts, SQL Server, SQL System Table

A query to list every identity column with its seed, increment and current value, plus what those numbers mean and how to reseed a table safely.

Read More
An open card index drawer with one card lifted, a second smaller card paper-clipped behind it.

SQL SERVER – Understanding new Index Type of SQL Server 2005 Included Column Index along with Clustered Index and Non-clustered Index

April 23, 2007
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts, SQL Server

Clustered index and non-clustered index compared: how many you can have, how each stores data, and where the SQL Server 2005 included column index fits.

Read More
Previous 1 … 57 58 59 60 61 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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