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 row of plain glass jars holds different levels of sand on a sunlit shelf.

Baselines: Knowing What Normal Looks Like

November 12, 2008
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Build a SQL Server baseline with timestamped workload, wait, and IO samples so you can compare a slowdown with a similar period of normal work.

Read More
Two identical brass compasses on a workbench, one needle pulled aside by a nearby iron vise

Why One Query Has Two Cached Plans: SET Options and plan_attributes

November 8, 2008
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Cache, SQL DMV, SQL Server

Investigate two cached plans with plan_attributes, decode differing SET options, and match application settings before diagnosing skew.

Read More
SQL SERVER - Refresh Database Using T-SQL

SQL SERVER – Refresh Database Using T-SQL

November 7, 2008
Pinal Dave
SQL Performance
SQL Scripts, SQL Server DBCC, SQL Stored Procedure

Can you refresh database in Object Explorer using a T-SQL query? No. But if cached objects changed, DBCC commands can clear the cache for you.

Read More
SQL SERVER - DECLARE Multiple Variables in One Statement

SQL SERVER – DECLARE Multiple Variables in One Statement

October 31, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Scripts

Yes, you can DECLARE multiple variables in one statement in SQL Server. Compare both methods side by side: one statement per variable, or all in one line.

Read More
Execution plan for merge join.

SQL SERVER – INNER JOIN using LEFT JOIN statement – Performance Analysis

October 25, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts

Can you write an INNER JOIN using LEFT JOIN? Yes, and the result is the same, but my performance analysis in AdventureWorks shows why you should not.

Read More
A busy restaurant stove with every burner lit and one pot boiling over as a hand reaches for its lid.

Seeing What Is Running Right Now

October 24, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Lock, SQL Performance, SQL Wait Stats

See what is running right now in SQL Server with request DMVs, statement text, plans, waits, and blocking details in one reusable query.

Read More
SQL Server project new project dialog box.

SQL SERVER – Introduction to CLR – Simple Example of CLR Stored Procedure

October 19, 2008
Pinal Dave
SQL Performance
CLR, Software Development, SQL Scripts, SQL Stored Procedure, SQL Utility

An introduction to CLR in SQL Server 2005 and later, with a simple CLR Stored Procedure built in Visual Studio that prints the current system datetime.

Read More
Previous 1 … 97 98 99 100 101 102 103 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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