Multiple query plans for the same query?
A while back i was creating a stored procedure to be used for pulling data from the SQL Server into...
2011-10-25
13,703 reads
A while back i was creating a stored procedure to be used for pulling data from the SQL Server into...
2011-10-25
13,703 reads
One of the main goals with this blog is to write stuff when we learn / discover new things or smarter...
2011-10-18
1,466 reads
We all know that SQL Server loves memory, and in my opinion SQL Server can never have to much RAM....
2011-10-11
676 reads
Last week I blogged about how to get help identifying possible missing indexes by using some of the DMV’s provided...
2011-10-04
783 reads
One of the most common things I encounter when asked to help with performance problems, is wrong or inadequate indexing....
2011-09-27
1,365 reads
A few weeks back we did a blog post about a file grow bug that has been fixed with SQL...
2011-09-20
1,616 reads
We have all been in a situation where we had to get the last day of the month with T-SQL....
2011-09-13
5,762 reads
Three months back in this blog post – T-SQL Enhancements in SQL Server Denali (2011) – we promised to do a series...
2011-09-06
989 reads
IFF Function
If you are an old Access or Excel “developer” you know this one. This is not a function I...
2011-09-06
2,948 reads
A couple a weeks ago I blogged about a few of the enhancements in the OVER clause, and now I...
2011-08-30
4,625 reads
By Vinay Thakur
As this is an Artificial Intelligence (AI) World, things are changing. We can see that...
In a containerized app, React and Chakra UI provide a robust and accessible user...
By Steve Jones
nachlophobia – n. the fear that your deepest connections with people are ultimately pretty...
Hello I need help identifying all records that have consecutive hours (time in order)...
hi, I have a table called Rules Create table Rules ( Id int ,...
I am currently upgrading a very old database running SQL Server 2008 to SQL...
What is returned from this query?
SELECT ( SELECT COUNT (*) FROM Sales.SalesOrderHeader AS soh WHERE soh.OrderDate >= '01/01/2011' AND soh.OrderDate < '01/01/2012') AS OrdersIn2011 , ( SELECT COUNT (*) FROM Sales.SalesOrderHeader AS soh WHERE soh.OrderDate >= '01/01/2012' AND soh.OrderDate < '01/01/2013') AS OrdersIn2012 , ( SELECT COUNT (*) FROM Sales.SalesOrderHeader AS soh WHERE soh.OrderDate >= '01/01/2013' AND soh.OrderDate < '01/01/2014') AS OrdersIn2013;See possible answers