Using PowerShell To Search The Event Log
The “30-minute DBA” was operating in a highly effective mode. He’d automated most everything that could be automated. The first...
2011-02-07
2,717 reads
The “30-minute DBA” was operating in a highly effective mode. He’d automated most everything that could be automated. The first...
2011-02-07
2,717 reads
I saw an article in American Woodworker by Alan Lacer about making wooden doorstops and decided to try one. You...
2011-02-07
524 reads
I wanted to announce that you can now pre-order your copy of my latest book to be released called SharePoint...
2011-02-07
954 reads
This isn’t exactly the best thing since bread (or even sliced bread for that matter), but I figured I’d share...
2011-02-07
1,352 reads
I had the privilege of attending and speaking at SQLSaturday #62 – Tampa the weekend of January 15th and this is...
2011-02-07
922 reads
Happy Monday! I'm sure many of you may have already caught on, that Waits & Queues is the way to go...
2011-02-07
722 reads
Welcome to this semester's security week at SQL University. In previous semesters we've covered the technical aspects of SQL Server...
2011-02-07
3,339 reads
I’m not gonna lie to you, Marge…I haven’t exactly been keeping up with the RTFM365. And when I have read,...
2011-02-07
614 reads
Advertisements
T-SQL Tuesday #015: Automation:
I am very much interested to participate in the T-SQL Tuesday event party. I have seen the...
2011-02-06
1,006 reads
AdvertisementsHow to setup the DB mail using Gmail account
In this article I am going to show the database mail setup...
2011-02-05
768 reads
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
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