SQL SERVER – Difference Between GETDATE and SYSDATETIME
SQL SERVER – Merge Operations – Insert, Update, Delete in Single Execution
This blog post is written in response to T-SQL Tuesday hosted by Jorge Segarra. I have been very active using these Merge operations in my development. However, I have found out from my consulting work and friends that these amazing operations are not utilized by them most of the time. Here is my attempt to bring the necessity of using the Merge Operation to surface one more time.
SQL SERVER – Subquery or Join – Various Options – SQL Server Engine Knows the Best – Part 2
SQL SERVER – Subquery or Join – Various Options – SQL Server Engine knows the Best
SQL SERVER – Convert IN to EXISTS – Performance Talk
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.
SQL SERVER – Generate Database Script for SQL Azure
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.