31 Days of SSIS – UnPivot Transformation (11/31)
31 Days of SSIS
The last post discussed the Pivot transformation – that leads us to this post which will be on...
2011-01-11
1,161 reads
31 Days of SSIS
The last post discussed the Pivot transformation – that leads us to this post which will be on...
2011-01-11
1,161 reads
Last Year was a great year for the SQL Lunch. We had so many great presentations. I am really excited...
2011-01-11
847 reads
The handiest thing that I’ve used lately for a computer is the Ctrl button and the scroll wheel on my...
2011-01-11
972 reads
For this TSQL Tuesday post, I will just add a short list of my professional goals for this next year. Otherwise, this post would be mostly about my non-professional...
2011-01-11
5 reads
Woohoo, It’s TSQL Tuuuuuuuuuuuuuuuuuuesday!!! This month we are being hosted by one-half of the MidnightDBA – Jen McCown (Blog | Twitter), and...
2011-01-11
583 reads
My friend, and newly minted MVP, Jen McCown (blog|twitter) is hosting T-SQL Tuesday this month. I normally don’t do the...
2011-01-11
585 reads
The conventional wisdom tends to hold that you should trumpet your accomplishments to your boss, though in a way that...
2011-01-11
747 reads
Sounds like a good action adventure movie. The theme this month on TSQL Tuesday, thanks to our host, Jen McCown...
2011-01-11
1,010 reads
Time for the first T-SQL Tuesday of 2011. This month Jen McCown (Blog | @midnightdba) is hosting the event. The topic...
2011-01-11
564 reads
I’ve recently come to realize what a truly remarkable feature it is to be able to
format report text using simple...
2011-01-11
776 reads
By Brian Kelley
Fabiano Amorim has written an excellent article at Simple Talk on securing msdb. Here's...
By Steve Jones
This month we have a new host, which I am grateful for. So many...
I needed to do some research because there is more to #temp tables than...
Comments posted to this topic are about the item OUTER APPLY Fundamentals: Part 2
Comments posted to this topic are about the item Building Great Software
Comments posted to this topic are about the item The Range of Customers
I have this data in the OrderHeader table in a SQL Server 2025 database (ordered by CustomerID ASC):
orderid orderdate customerid complete 3 2025-05-10 00:00:00.0002 1 21 2024-01-10 00:00:00.0003 1 15 2023-10-28 00:00:00.0004 1 13 2025-03-08 00:00:00.0006 1 11 2024-04-02 00:00:00.0007 1If I run this query, how many rows are returned?
SELECT * from dbo.OrderHeader where customerid between 3 and '6'See possible answers