SQL University: Index Usage
Greetings. Welcome once more to the Miskatonic University branch of SQL University. Does anyone know where to buy some camping...
2011-04-06
886 reads
Greetings. Welcome once more to the Miskatonic University branch of SQL University. Does anyone know where to buy some camping...
2011-04-06
886 reads
For Day 6 of this series, I am going to talk about a few useful tools you can use to...
2011-04-06
404 reads
Part 1 of this blog talked about the bad experience we had with a badly configured SQL Server. The second...
2011-04-06
1,612 reads
I have been trying to get to Dallas for a SQL Saturday for nearly a year, when the first event...
2011-04-06
1,396 reads
I have been trying to get to Dallas for a SQL Saturday for nearly a year, when the first event...
2011-04-06
873 reads
Day 6 Functions and error handling As everyone aware of what is function, so no need to give therotical infomration...
2011-04-06
224 reads
One of the topics the Election Review Committee has discussed is how best to score the interview portion. Because of...
2011-04-06
1,358 reads
As I was surfing around twitter after the marathon TV event that was the Royal Wedding came to end last...
2011-04-06
721 reads
On the topic of my SQL Connections SQL Server presentation, one of the things I pointed out about recent SQL...
2011-04-06
1,115 reads
Part - 07 Exerpts from "The Tyranny of Bill-101" - Part 07
Commenting on how frustrating it is for DBAs to deal with...
2011-04-05
684 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