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 brass bell beside a plain closed envelope and a soft folded cloth on a wooden desk.

What to Alert On, and What to Let Sleep

April 1, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Make SQL Server alerting actionable by tying thresholds to impact, checking missing work, reducing duplicates, and reviewing every overnight call.

Read More
Gouache painting: in a rehearsal room, a vermilion rug strip marks the center

DATEPART tzoffset: Read the Signed Offset in Minutes

March 31, 2008
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Server

DATEPART tzoffset extracts an offset in minutes. Preserve its sign, test sub-hour values and retain the source temporal type.

Read More
SQL SERVER - Introduction to Heap Structure - What is Heap?

SQL SERVER – Introduction to Heap Structure – What is Heap?

March 30, 2008
Pinal Dave
SQL Tips and Tricks
SQL Index

What is Heap? When table data has no logical order and no clustered index, SQL Server stores it as a Heap Structure. I explain pages and extents too.

Read More
Person icon in information card.

SQL SERVER – 2005 – List All Column With Identity Key In Specific Database

March 29, 2008
Pinal Dave
SQL Tips and Tricks
SQL Identity, SQL Index, SQL Scripts, SQL Server, SQL System Table

Question I received in Email : How to list all the columns in the database which are used as identity key in my database?

Read More
SQL Server query execution plan.

SQL SERVER – Introduction to sys.dm_exec_query_optimizer_info

March 28, 2008
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

While browsing Books Online I found sys.dm_exec_query_optimizer_info, which returns statistics about the query optimizer to help you tune a workload.

Read More
SQL SERVER - 2005 - Find Index Fragmentation Details - Slow Index Performance

SQL SERVER – 2005 – Find Index Fragmentation Details – Slow Index Performance

March 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL System Table

A slow index turned out to be heavily fragmented. My quick script uses sys.dm_db_index_physical_stats to show index fragmentation details for every index.

Read More
A muddy boot print on a clean stone doorstep with a brass magnifying glass resting beside it.

Reading SQL Server Error Messages Carefully

March 26, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server, SQL Transactions

Reading SQL Server error messages carefully means using number, severity, state, and line to narrow the cause before searching.

Read More
Previous 1 … 766 767 768 769 770 771 772 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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