Are You Security Minded?
It's fun to just sit and talk with people, never know what you'll learn or be forced to rethink based...
2008-12-09
739 reads
It's fun to just sit and talk with people, never know what you'll learn or be forced to rethink based...
2008-12-09
739 reads
With the world economy on the downside, there is at least one bright light, and that is DBAs are still...
2008-12-09
1,109 reads
Last week Steve Ballmer had issued a challenge to MVPs to have them try Live Search instead of their regular...
2008-12-09
667 reads
Managing by the numbers often gets a bad name among employees because it can lead to a lot of gaming...
2008-12-08
662 reads
SQL Server 2008 (Enterprise Edition) offers row and page compression, which can potentially offer a boost in disk I/O in...
2008-12-08
1,517 reads
I have to admit that when I had a performance problem with some code, I would often fire up Profiler...
2008-12-08
703 reads
I’ve been asked several times lately from non-SQL developers that are sometimes required to do some quick SQL work how...
2008-12-08
3,440 reads
I attended the Tampa Code Camp this past weekend. It was located at the Kforce Building in Tampa, a very...
2008-12-08
1,110 reads
I have a long held belief that if you really care about results, you have to measure them somehow. The...
2008-12-07
321 reads
Brent Ozar had a nice post recently on starting a technical blog, well worth reading and a good addition to...
2008-12-07
282 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