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 – 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
All Articles inexists-600x400

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
All Articles azurescript5-498x400

SQL SERVER – Generate Database Script for SQL Azure

June 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Scripts, SQL Server

When talking about SQL Azure the common complaint I hear is that the script generated from stand-along SQL Server database is not compatible with SQL Azure. This was true for some time for sure, but not any more. If you have SQL Server 2008 R2 installed you can follow the guideline below to generate a script which is compatible with SQL Azure.

Read More

SQLAuthority News – Training and Consultancy and Travel – Story of Last 30 Days

June 3, 2010
Pinal Dave
Personal, SQL, SQL Server, SQL Tips and Tricks
SQL Training
Today’s blog post is not technical as usual. Here, I present a real story, and I also invite you all to share your thoughts or opinions on this post. I am a professional SQL Server Trainer; I also do consultation in the area of the Performance Tuning and Query Optimizations.…
Read More
All Articles SPTran1

SQL SERVER – Stored Procedure and Transactions

June 2, 2010
Pinal Dave
SQL, SQL Server, SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure
I just overheard the following statement – “I do not use Transactions in SQL as I use Stored Procedure“. I just realized that there are so many misconceptions about this subject. Transactions has nothing to do with Stored Procedures. Let me demonstrate that with a simple example. USE tempdb GO…
Read More
All Articles smalldatetimep-1

SQL SERVER – Precision of SMALLDATETIME – A 1 Minute Precision

June 1, 2010
Pinal Dave
SQL, SQL Server, SQL Tips and Tricks
SQL DateTime, SQL Scripts
I am myself surprised that I am writing this post today. I am going to present one of the very known facts of SQL Server SMALLDATETIME datatype. Even though this is a very well-known datatype, many a time, I have seen developers getting confused with precision of the SMALLDATETIME datatype.…
Read More

SQLAuthority News – Monthly Roundup of Best SQL Posts

May 31, 2010
Pinal Dave
SQL, SQL Server, SQL Tips and Tricks, SQLAuthority News
After receiving lots of requests from different readers for long time I have decided to write first monthly round up. If all of you like it I will continue writing the same every month. In fact, I really like the idea as I was able to go back and read…
Read More
All Articles Notepad-600x200

SQLAuthority News – Guest Post – Performance Counters Gathering using Powershell

May 30, 2010
Pinal Dave
SQL
Powershell, SQL Utility

Laerte Junior has previously helped me personally to resolve the issue with Powershell installation on my computer. He did an awesome job to help. He has sent this another wonderful article regarding performance counter for readers of this blog. I really liked it and I expect all of you who are Powershell geeks, you will like the same as well.

Read More
All Articles errorole-600x574

SQLAuthority News – SQL Funny Quotes

May 29, 2010
Pinal Dave
SQLAuthority News
SQL Humor, SQL Server

Here are few SQL Funny Quotes.

Q. What if your Dad loses his car keys?
A. ‘Parent keys not found!’

Read More
All Articles disclu3

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 … 441 442 443 444 445 446 447 … 580 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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