Sniffing out bogus data
/* Imagine that you have some names and addresses. You are anxious to look at the addresses that may be spurious....
2008-11-03
684 reads
/* Imagine that you have some names and addresses. You are anxious to look at the addresses that may be spurious....
2008-11-03
684 reads
This question came up during lunch this past week, and it's a good question. I'll start with my stock 'It...
2008-11-02
558 reads
I always feel it is harder to be a DBA than to be a doctor while we are doing almost...
2008-11-02
1,340 reads
I got up this morning, wanting to go through the forums, check on Database Weekly, etc. as a Sunday morning...
2008-11-02
576 reads
Auditing blank passwords in SQL Server 2005 and 2008 proves a bit more challenging than in SQL Server 2000. In...
2008-11-01
1,251 reads
I was experimenting with the effects of row and page compression in SQL Server 2008 Enterprise Edition.
First, I identified...
2008-10-31
4,301 reads
A month or so ago I posted Blog Review - Yours & Mine to see what I might get for feedback about...
2008-10-30
1,503 reads
Since the release of SQL Server 2008, a slew of new books have been released, or are about to be...
2008-10-30
1,737 reads
Do we have an energy crisis or not? Is global warming real? Are we being affected by burning fossil fuels?
I...
2008-10-30
1,461 reads
In my previous post The Wise Old Man Part 1 I wrote about a great session I attended during SQL...
2008-10-30
1,591 reads
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, I’m not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers