Superfast Broadband – can be a drawn out slow and frustrating process
I’m writing this blog post to simply to vent some frustration. I live in Wales’ third largest city, Newport and...
2013-12-06
933 reads
I’m writing this blog post to simply to vent some frustration. I live in Wales’ third largest city, Newport and...
2013-12-06
933 reads
Have you ever wanted to evaluate 2 tables in one IF BEGIN END block, I firstly wrote this:-
Which always evaluated...
2013-12-05
366 reads
Sometimes activity monitor just isn't fast enough. Maybe it's not telling you what a specific query is doing. Below is...
2013-12-05
468 reads
Tablediff is a command line utility that comes with SQL Server to compare the data and schema in two tables...
2013-12-05
2,568 reads
(Be sure to checkout the SQLpassion Online Academy, where you get High-Quality SQL Server Trainings with Instant Access!)
Over the...
2013-12-05 (first published: 2013-11-30)
4,232 reads
As I mentioned in my previous post (see Power BI first impressions), Power Query is a great new tool and Microsoft...
2013-12-05
1,511 reads
Come get your learn on with Pragmatic Works and myself! In January I’ll be dropping some knowledge about change data...
2013-12-05
1,246 reads
(Be sure to checkout the FREE SQLpassion Performance Tuning Training Plan, where you are getting week by week via email...
2013-12-05
657 reads
Have you been waiting to hear about this month’s T-SQL Tuesday topic? Here’s the announcement, right here and right now....
2013-12-05
1,023 reads
Today at 3 pm EST I’m presenting Surviving The First Week As The New DBA. Some of the topics I’m...
2013-12-05
690 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