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
SQL SERVER - Optimization Rules of Thumb - Best Practices

SQL SERVER – Optimization Rules of Thumb – Best Practices

April 25, 2008
Pinal Dave
SQL Performance
Best Practices, SQL Index

My optimization rules of thumb for a slow running query: read the query plan first, turn scans into seeks, fix bookmark lookups with a covering index and more.

Read More
LEFT OUTER JOIN - WHERE NULL.

SQL SERVER – Converting Subqueries to Joins

April 23, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Performance, SQL Scripts, SQL Server

Developers often write subqueries where Joins would do, or the other way around. A short note on converting between the two, with links to my earlier examples.

Read More
SQL SERVER - Join Better Performance - LEFT JOIN or NOT IN?

SQL SERVER – Join Better Performance – LEFT JOIN or NOT IN?

April 22, 2008
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts, SQL Server

LEFT JOIN or NOT IN: which one gives Join Better Performance? It depends on the data. Compare the two queries and their execution plans on AdventureWorks.

Read More
Two picket fence sections meeting at one shared post, one painted vermilion, one cream, with no gap between them.

Filtering on Dates Without Losing the Index

April 17, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL DateTime, SQL Index, SQL Server

Filtering on dates without losing an index means using searchable ranges; learn half-open boundaries, date and datetime differences, and plan checks.

Read More
SQL SERVER - Surface Area Configuration Tools Reduce Exposure To Security Risks

SQL SERVER – Surface Area Configuration Tools Reduce Exposure To Security Risks

April 15, 2008
Pinal Dave
SQL Performance
Database, SQL Server Management Studio

My SQL Server Magazine article explains how Surface Area Configuration tools reduce exposure to security risks on your SQL Server.

Read More
A hand pressing the slightly soft front tire of a bicycle in a hallway, a floor pump standing nearby.

Reading the Warnings in an Execution Plan

April 12, 2008
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Server, SQL Statistics

Warnings in an execution plan can reveal conversions, missing statistics, and spills; read each warning in workload context.

Read More
SQL SERVER - 2005 - Mechanisms to Ensure Integrity and Consistency of Databases - Locking and Row Versioning

SQL SERVER – 2005 – Mechanisms to Ensure Integrity and Consistency of Databases – Locking and Row Versioning

March 23, 2008
Pinal Dave
SQL Performance
Database, SQL Lock

Books Online describes two mechanisms to ensure integrity and consistency of databases: locking and row versioning. Here is how it defines each one.

Read More
Previous 1 … 103 104 105 106 107 108 109 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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