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 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
A wooden cribbage board on a cafe table, a red peg marking where play stopped

Keyset Pagination: Next and Previous Pages Without OFFSET

November 5, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Paging, SQL Server

Build keyset pagination with a matching index, unique tie breaker, next and previous queries, and a fair deep-page comparison with OFFSET.

Read More
Gouache painting: on a turner's bench, a plain solid wooden egg sits whole beside a second egg that splits in two halves

ASCII Versus UNICODE: Inspect the First Character

November 4, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Datatype, SQL Server

ASCII versus UNICODE asks different representation questions. Compare a first UTF-8 byte with a code point while preserving the complete input.

Read More
Two people at a desk, one pointing a pencil at a circled box in a hand-drawn diagram

Explaining a Query Plan to a Developer

November 3, 2007
Pinal Dave
SQL Performance
Developer, Execution Plan, SQL Performance, SQL Server, SQL Statistics

Explaining a query plan starts with the costly work, checks estimates against actual rows, and turns findings into a clear code decision.

Read More
Previous 1 … 416 417 418 419 420 421 422 … 438 Next
  • Books
  • Testimonials
  • Privacy Policy

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