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
Two glass jars on a garden wall, one empty, one filled with water under a red lid

Comparing Two Wait Stats Snapshots to See What Changed

December 8, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Compare wait stats snapshots over a chosen window, subtract cumulative counters, remove background waits, and calculate rates and average waits.

Read More
puzzle

SQL SERVER – Interview Questions – Difficult SQL Puzzle

December 7, 2008
Pinal Dave
SQL Puzzle
Database, SQL Scripts, SQL Server

Today at my organization, we had nearly 30 interviews scheduled of DBA and .NET developers. Let us see a difficult SQL puzzle.

Read More
Old workshop wall covered with pinned handwritten notes above a cluttered workbench

SQLAuthority News – 10 Motivational Quotes from Technologiest of the Past

December 6, 2008
Pinal Dave
Personal
Quotes

Here are 10 motivational quotes from great technologists of the past, from Elbert Hubbard to Thomas Edison and Douglas Adams. Add your favorite too.

Read More
Two similar wooden tops, one upright and one leaning on its rim with an off-center tip.

Comparing Float Values: Why 0.1 + 0.2 Is Not 0.3 in SQL Server

December 5, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Mathematics, SQL Datatype, SQL Scripts

Why does 0.1 + 0.2 miss 0.3 only when float is involved? A few tiny queries show the hidden digits, the drifting sum and two clean fixes.

Read More
Two rows of even stitches and one plain thread line on cream fabric under a sewing machine.

TIMEFROMPARTS: Fraction Values Follow the Precision

December 4, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

TIMEFROMPARTS builds a time from separate components. The same fractions argument means milliseconds at precision three and much smaller units at precision seven.

Read More
SQL Server 2008 Database Engine Collation Setup.

SQL SERVER – Default Collation of SQL Server 2008

December 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

How to check or change the default collation while installing SQL Server 2008. The setup default for server installs is SQL_Latin1_General_CP1_CI_AS.

Read More
Gouache painting: on a glassworker's bench, a long clear glass cane lies against a fixed stop block that only allows whole-unit lengths

POWER: Why an Integer Base Changes Fractional Results

December 2, 2008
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Datatype, SQL Server

POWER uses the base type when returning a result. Cast before calculation when fractional results matter and inspect decimal precision and scale.

Read More
A vineyard row with a sloping wire between two posts, a red bead high on the right and a blue bead low on the left.

ATAN: Understand the Principal Angle of a Ratio

December 1, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

ATAN converts a tangent ratio into a principal angle. The sign and selected interval matter, and a ratio alone cannot recover every original directional quadrant.

Read More
Execution Plan Tool Window.

SQL SERVER – Interesting Observation – Use of Index and Execution Plan

November 30, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Scripts

Three AdventureWorks examples show how the Query Optimizer picks an index, what happens when you force one, and how that changes the index and execution plan.

Read More
A pottery dispatch gate stays closed while an intact vessel waits on a separate inspection bench.

Service Broker Queue: Diagnose a Disabled Receiver

November 29, 2008
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Error Messages, SQL Transactions

A disabled Service Broker receiver needs diagnosis before recovery. Read queue flags alongside application evidence, distinguish state from cause and check receiving, enqueueing, activation and poison-message handling separately.

Read More
Previous 1 … 508 509 510 511 512 513 514 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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