Sep 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check

SQL SERVER – Data Pages in Buffer Pool – Data Stored in Memory Cache

June 17, 2010
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL DMV, SQL Scripts
This will drop all the clean buffers so we will be able to start again from there. Now, run the following script and check the execution plan of the query. Have you ever wondered what types of data are there in your cache? During SQL Server Trainings, I am usually…
Read More

SQL SERVER – Difference Between DATETIME and DATETIME2

June 11, 2010
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL DateTime, SQL Scripts
Yesterday I have written a very quick blog post on SQL SERVER – Difference Between GETDATE and SYSDATETIME and I got tremendous response for the same. I suggest you read that blog post before continuing with this blog post today. I had asked people to honestly take part and share…
Read More

SQL SERVER – Fastest Way to Restore Database

June 9, 2010
Pinal Dave
SQL Performance
SQL Restore, SQL Server

A few days ago, I received following email from blog reader where the question was about the fastest way to restore database.

Read More

SQL SERVER – Subquery or Join – Various Options – SQL Server Engine Knows the Best – Part 2

June 7, 2010
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL Joins, SQL Scripts
This blog post is part 2 of the earlier written article SQL SERVER – Subquery or Join – Various Options – SQL Server Engine knows the Best by Paulo R. Pereira. Paulo has left excellent comment to earlier article once again proving the point that SQL Server Engine is smart…
Read More

SQL SERVER – Subquery or Join – Various Options – SQL Server Engine knows the Best

June 6, 2010
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL Joins, SQL Scripts
This is followup post of my earlier article SQL SERVER – Convert IN to EXISTS – Performance Talk, after reading all the comments I have received I felt that I could write more on the same subject to clear few things out. First let us run following four queries, all…
Read More

SQL SERVER – Convert IN to EXISTS – Performance Talk

June 5, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL Server

In recent training one of the attendee asked if I can show a simple method to convert IN clause to EXISTS clause so it impacts performance. Here is the simple example.

Read More

SQL SERVER – Disabled Index and Update Statistics

May 28, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Statistics

When we try to update the statistics, it throws an error as if the clustered index is disabled. Now let us enable the clustered index only and attempt to update the statistics of the table right after that. Let us learn about Disabled Index and Update Statistics.

Read More
Previous 1 … 64 65 66 67 68 69 70 … 100 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version