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 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
Rich still life with two differently sized glasses partly filled with sage liquid, an ivory pitcher and slate tray.

Storing Percentages: 0.15 or 15, and How to Tell Them Apart

April 27, 2010
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Constraint and Keys, SQL Datatype, SQL Server

Storing percentages starts with a declared unit. Fractional rates and percentage points require different conversions, even when both pass a range check. Use named columns, explicit boundaries and a guarded disposable fixture.

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 … 13 14 15 16 17 18 19 … 25 Next
  • Books
  • Testimonials
  • Privacy Policy

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