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 camping stove with one simmering pot on a picnic table in a quiet clearing at dusk

LocalDB: SQL Server on a Developer’s Laptop

March 12, 2011
Pinal Dave
SQL Tips and Tricks
Developer, SQL Server, SQL Server Express, sqlcmd

LocalDB runs SQL Server Express engine features in a developer-friendly local process; learn how to start, connect, and recognize its limits.

Read More
A wooden mannequin in a red helmet slides safely down a railed slide while another gives a thumbs up

Stop Blaming the User: Let Constraints Catch Bad Data

July 23, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, SQL Constraint and Keys, SQL Humor

Blaming the user is the oldest joke in IT. Here’s why it fails, and how NOT NULL, CHECK, UNIQUE and foreign keys stop bad data before it lands.

Read More
Two trays pair a blue bowl with a cream jug and a blue jug with a cream bowl.

Count Distinct Pairs: Keep the Columns Together

June 27, 2010
Pinal Dave
SQL Tips and Tricks
Developer, SQL Distinct, SQL NULL, SQL Server, SQL Sub Query

Count distinct pairs by keeping their columns together. A small T-SQL example shows why concatenated labels can collide. Choose whether incomplete pairs belong in the count.

Read More
Wide stone steps climbing a garden hillside toward a bench

A Learning Path for a New SQL Developer

March 13, 2010
Pinal Dave
SQL Tips and Tricks
Developer, SQL Joins, SQL Training, Starting SQL

A new SQL developer can build skill in a clear order: relational basics, T-SQL, data modeling, plans, testing, and safe deployment habits.

Read More
QUOTENAME object names illustrated by a wooden tray divided into two compartments, with slate-blue and sage blocks.

QUOTENAME Object Names: Quote Each SQL Server Name Part

February 26, 2010
Pinal Dave
SQL Tips and Tricks
Developer, SQL Function, SQL Server, SQL String

QUOTENAME object names separately to keep each part of a qualified SQL Server name intact. The function surrounds its entire input with identifier delimiters. A dot inside that input stays inside one quoted name. I keep the schema and object in separate variables.

Read More
A child's hand fitting a star-shaped block into the matching hole of a wooden shape-sorter box

Connecting PHP to SQL Server

October 11, 2009
Pinal Dave
SQL Tips and Tricks
Developer, SQL Connection, SQL Server, SQL Server Security

Connecting PHP to SQL Server means choosing SQLSRV or PDO_SQLSRV, binding parameters, validating TLS, and keeping web queries efficient.

Read More
A single book waiting on a library counter, with tall shelves behind a latched brass gate

Giving Web Developers Safe Database Access

September 28, 2009
Pinal Dave
SQL Tips and Tricks
Developer, SQL Login, SQL Server, SQL Server Security, SQL View

Give web developers safe database access with narrow roles and views, a reporting replica where useful, and audit that identifies real changes.

Read More
Previous 1 … 3 4 5 6 7 8 Next
  • Books
  • Testimonials
  • Privacy Policy

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