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 ladder stands beside a stable wooden platform in a quiet empty workshop.

How to Patch SQL Server Without a Bad Morning

July 25, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Before you patch SQL Server, check backups, plan replica and cluster sequencing, record builds, and prepare a tested recovery path.

Read More
A leaking gutter dripping into a nearly full rain barrel on a bright dry day, one drop caught in mid-fall.

Calculating the Cost of a Slow Query

July 22, 2009
Pinal Dave
SQL Performance
DBA, Query Store, SQL CPU, SQL Performance, SQL Server

Cost of a slow query includes frequency, CPU, reads, waits, and user time; learn to turn SQL Server measurements into a practical tuning priority.

Read More
Gouache painting: on a greenhouse bench a rectangular pane of glass lies beside an empty wooden frame of the same outer size, its four rails joined with open air inside

geometry STBoundary: A Polygon Edge Is a Different Shape

July 21, 2009
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STBoundary returns the edge of a shape as another geometry instance. I inspect that result independently from the source. A polygon’s boundary is not another filled polygon with the same area.

Read More
SQL SERVER - Two Methods to Retrieve List of Primary Keys and Foreign Keys of Database

SQL SERVER – Two Methods to Retrieve List of Primary Keys and Foreign Keys of Database

July 17, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

There are two different methods to retrieve the list of Primary Keys and Foreign Keys from the database.

Read More
SQL Server backup overview diagram.

SQL SERVER – Restore Sequence and Understanding NORECOVERY and RECOVERY

July 15, 2009
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts, SQL Server

What is the difference between NORECOVERY and RECOVERY when restoring a database, and what is the right restore sequence? A plain explanation of both.

Read More
Timeline of a full backup, log backup 0_1, differential backup 1 with log backups 1_1 to 1_3, and differential backup 2 with log backups 2_1 to 2_3, with three restore paths showing which backups each path restores

Backup Timeline: Which Backups a Full Recovery Restore Needs

July 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, Transaction Log

A backup timeline for the full recovery model: full, differential and log backups, and how to restore them in the right order. The post also tells a real DBA story.

Read More
Unmarked wooden blocks in natural cream and slate tones stand in a row beside a red end block on textured off-white paper.

Decimal Multiplication: Precision Can Reduce the Result Scale

July 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

Decimal Multiplication derives a result type from its operand types, and the precision limit can reduce the scale. I inspect three small products. A small numeric value does not necessarily imply a narrowly declared arithmetic result.

Read More
Previous 1 … 356 357 358 359 360 361 362 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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