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 flashlight beside a closed notebook and plain ceramic mug on a dim wooden desk.

What to Check When You Are Woken at Three in the Morning

October 26, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use a DBA on call checklist to establish impact, inspect blocking and disk space, review failed jobs, and choose a safe next step during incidents.

Read More
SQL SERVER - DATEDIFF - Accuracy of Various Dateparts

SQL SERVER – DATEDIFF – Accuracy of Various Dateparts

October 21, 2011
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts

Why does DATEDIFF say 1 minute between two times only 3 seconds apart? It is not a bug. Here is how DATEDIFF counts datepart boundaries.

Read More
Results window in sql server management studio.

SQL SERVER – A Simple Quiz – T-SQL Brain Trick

October 19, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

A T-SQL brain trick: three SELECT statements are separated by lines of underscores, and running one of those lines alone gives Msg 2812. Can you explain why?

Read More
A spokeshave follows a straight spindle, leaving neatly aligned wood shavings

POC Index: Supporting Window Functions Without a Sort

October 18, 2011
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server

Is a Sort slowing down your running totals? Build an index in partition, order, covering order and watch the Sort disappear from the plan.

Read More
SQL SERVER - Three DMVs - sys.dm_server_memory_dumps - sys.dm_server_services - sys.dm_server_registry

SQL SERVER – Three DMVs – sys.dm_server_memory_dumps – sys.dm_server_services – sys.dm_server_registry

October 16, 2011
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server

Three new DMVs in SQL Server Denali: sys.dm_server_memory_dumps, sys.dm_server_services and sys.dm_server_registry. What they return, and a question for you.

Read More
A closed egg coddler with a lifting ring beside an opened matching vessel

Certificate-Signed Procedures That Read Server DMVs Safely

October 13, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Give a developer lock-wait data without handing over a server-wide permission. A signed procedure carries the authority, and an edit takes it away.

Read More
A violin mute, bridge, and string fragments preserved together on soft cloth

Checking for SQL Server Dump Files After a Crash

October 12, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

Did the server really crash, or just restart? Here is how to list dump files, read the error log and protect the evidence before anyone cleans up.

Read More
Previous 1 … 218 219 220 221 222 223 224 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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