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 searching a tin of jumbled buttons for a matching set, an empty compartment tray beside it.

Indexing Foreign Keys

May 19, 2010
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Lock, SQL Server

Indexing foreign keys can speed joins and parent deletes when child-side indexes are missing; learn how to find gaps and test write tradeoffs.

Read More
A nested set of copper measuring cups on a hook, with one stray cup from a different set lying on the counter below.

Where Reference Data Should Live

May 7, 2010
Pinal Dave
SQL Tips and Tricks
Data Warehousing, Master Data Services, SQL Constraint and Keys, SQL Server

Reference data belongs in governed lookup tables with stable codes, clear owners, and a release process that keeps environments aligned.

Read More
SQL SERVER - Disable Clustered Index and Data Insert

SQL SERVER – Disable Clustered Index and Data Insert

April 29, 2010
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys

A client’s DBA disabled every clustered index before a bulk insert, and the application stopped working. What happens when you disable clustered index?

Read More
SQL SERVER - GUID vs INT - Your Opinion

SQL SERVER – GUID vs INT – Your Opinion

April 28, 2010
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Data Storage

GUID vs INT as a primary key or clustered index: I list one advantage and one disadvantage of each and ask you to add yours in the comments.

Read More
SQL SERVER - Create Primary Key with Specific Name when Creating Table

SQL SERVER – Create Primary Key with Specific Name when Creating Table

April 22, 2010
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

How do you create a primary key with specific name while creating the table itself? One CREATE TABLE statement can define and name the constraint.

Read More
A cardboard model house beside an empty plot where string lines and stakes mark out rooms in the grass.

Modeling Data Before Writing Tables

March 6, 2010
Pinal Dave
SQL Tips and Tricks
Database, Normalization, Primary Key, SQL Constraint and Keys

Modeling data before tables clarifies entities, relationships, keys, and grain so schema changes do not discover the rules too late.

Read More
Hands arranging fabric squares into a patchwork quilt pattern

Building Your Own Sample Data Set

January 24, 2010
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Sample Database, SQL Scripts, Testing

Build a sample data set with realistic keys, skew, NULLs, and repeatable generation when a downloaded sample misses the lesson.

Read More
Previous 1 … 7 8 9 10 11 12 13 … 19 Next
  • Books
  • Testimonials
  • Privacy Policy

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