Aug 2026 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
  • Hire Me
  • Health Check

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

SQL SERVER – Simple Example of Snapshot Isolation – Reduce the Blocking Transactions

May 21, 2010
Pinal Dave
SQL, SQL Performance, SQL Server, SQL Tips and Tricks
SQL Scripts, Transaction Isolation
To learn any technology and move to a more advanced level, it is very important to understand the fundamentals of the subject first. Today, we will be talking about something which has been quite introduced a long time ago but not properly explored when it comes to the isolation level.…
Read More
Previous 1 … 65 66 67 68 69 70 71 … 101 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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