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 damaged cream pottery bowl and its detached rim fragment sit beside an intact empty bowl on a worktable.

NOT and NULL: Unknown Does Not Become True

May 2, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

NOT and NULL do not create a complete two-way classification. State whether missing values belong in a filter or a separate reporting category.

Read More
Hands finishing a small, neat fishing fly at a vise, with unused feathers pushed aside in a tray.

Writing a Good Technical Blog Post

May 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Blogging, SQL Documentation, SQL Server

A technical blog post works when it solves one problem with tested code, clear assumptions, a readable result, and honest limits.

Read More
SQL SERVER - Find Table in Every Database of SQL Server - Part 2

SQL SERVER – Find Table in Every Database of SQL Server – Part 2

April 30, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Part 2 of how to find a table in every database of SQL Server: this stored procedure loops through sys.databases and reads the Information_Schema view.

Read More
SQL SERVER - Find Table in Every Database of SQL Server

SQL SERVER – Find Table in Every Database of SQL Server

April 29, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

sys.tables only searches one database. My quick stored procedure finds a table in every database on the server and returns database, schema and table name.

Read More
A library card catalogue drawer pulled open beside a long shelf of books

What Is an Index in SQL Server?

April 28, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

An index in SQL Server took one query from 33,517 reads to 66 on the same table. What clustered and nonclustered really mean, why every index is paid for on the way in, and how to find the ones nobody uses.

Read More
Gouache painting: a long tan leather strap lies straight across a workbench with two brass studs a short gap apart near its middle

CHARINDEX Start Position: Find the Second Delimiter

April 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

CHARINDEX start position finds the next delimiter. Guard a missing first match, preserve NULL, and extract empty fields without negative lengths.

Read More
SQL SERVER - Optimization Rules of Thumb - Best Practices - Reader's Article

SQL SERVER – Optimization Rules of Thumb – Best Practices – Reader’s Article

April 26, 2008
Pinal Dave
SQL Performance
Best Practices, Database

Reader Praveen Barath adds his own query optimization tips to my rules of thumb: tune only working code, write repeated statements identically and more.

Read More
Previous 1 … 759 760 761 762 763 764 765 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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