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
Red, blue and gray felt hats share different levels of a wooden display shelf.

TOP WITH TIES: Keep Every Row at the Cutoff

November 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Order By, SQL Scripts, SQL Server

TOP WITH TIES helps me keep equally qualified rows at a shortlist boundary. A unique ordering key changes that selection. Separate the cutoff rule from the final display order.

Read More
Two matching potted bay trees by a step, one clipped round and one grown lopsided with a stray branch.

Configuration Drift Between Servers

November 14, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Server, SQL Server Configuration

Find configuration drift between SQL Server instances, establish a baseline, and separate approved exceptions from settings that need repair.

Read More
A gouache inspection bench preserves one cracked ceramic vessel separately from intact vessels beside an inspection lens.

SQL SERVER – DBCC CHECKDB Introduction and Explanation – DBCC CHECKDB Errors Solution

November 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

DBCC CHECKDB checks database consistency. If it reports corruption, I preserve the output and establish the recovery options.

Read More
A knife leveling flour in the smallest of a set of measuring spoons

Decimal Precision and Rounding in SQL Server

November 12, 2007
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Datatype, SQL Function, SQL Server

Decimal precision in SQL Server controls arithmetic results and rounding; use explicit scales, test boundaries, and compare money with decimal.

Read More
A hand turning a spice grinder that turns whole peppercorns into fine powder

Hashing Data With HASHBYTES

November 11, 2007
Pinal Dave
SQL Tips and Tricks
ETL, SQL Function, SQL Server, SQL Server Encryption, SQL Server Security

HASHBYTES creates repeatable row fingerprints with SHA2 algorithms, but input encoding, NULL handling, and collision risk need a clear plan.

Read More
A brass key ring beside a small wooden compartment box with one open section on a table.

SQL Server Permissions Without the Guesswork

November 8, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Understand SQL Server permissions through principals, securables, roles, and ownership chains, then inspect what the current account can do.

Read More
Three round wall clocks side by side in a station hall, each showing a different hour, morning light on the tiles.

Handling Time Zones in SQL Server

November 6, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL DateTime, SQL Function, SQL Server

Handling time zones in SQL Server means storing an instant, converting with AT TIME ZONE, and testing daylight saving gaps.

Read More
Previous 1 … 397 398 399 400 401 402 403 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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