Do You Enable “Optimize for Ad Hoc Workloads”?
Most of the time when I run a poll on my blog, I run it for at least a month...
2011-04-25
2,490 reads
Most of the time when I run a poll on my blog, I run it for at least a month...
2011-04-25
2,490 reads
I had a need today to disable all of our admin jobs while I moved our admin database to another...
2011-04-25
2,836 reads
Have you heard about this new project out there called SQLPeople? It is a new (relatively) project that is the brainchild of Andy Leonard. Andy is trying to help...
2011-04-25
11 reads
Have you heard about this new project out there called SQLPeople? It is a new (relatively) project that is the...
2011-04-25
544 reads
I have blogged before about my appreciation for the SQL community mainly within the PASS organization as that is what...
2011-04-25
542 reads
Hello World. Stardate 1513.1. After reading that, if you know what I am referring to, you are a tech-head and...
2011-04-25
727 reads
Day 25 RMO I have observed that no body has written anything about RMO. And replications is one of my...
2011-04-25
394 reads
You’ve set up your access to a SQL Azure site so you’re ready to go. Now how do you get...
2011-04-25
1,525 reads
Imagine you have spent the last 9 months developing a sales Data Warehouse and an Analysis Services cube.Your end users...
2011-04-25
4,282 reads
Checkpoints in SSIS are a great tool and they definitely have their place. The downside to them is that they...
2011-04-25
1,119 reads
Disclaimer: The following is built with Claude Code. Just need to justify my $100/mo...
By Brian Kelley
I developed these rules a while back, before COVID. I had a period of...
By Steve Jones
Someone asked why I would use TRY_PARSE after I posted a question at SQL...
I have a table that ends in ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]. I'm about to...
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
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