A Note on sp_updatestats
In SQL 2000 when you run sp_updatestats it's the equivalent of running UPDATE STATISTICS on each table, forcing the update...
2008-04-06
425 reads
In SQL 2000 when you run sp_updatestats it's the equivalent of running UPDATE STATISTICS on each table, forcing the update...
2008-04-06
425 reads
I logged into Safari today to download some chapters I want to be able to review when I'm offline. I...
2008-04-05
1,274 reads
The SQLSaturday in Jacksonville, Florida, will be held May 3, 2008. I'm on track now to give two security based...
2008-04-05
540 reads
I'm still working on getting all of my tools and apps onto my new laptop, which is running Vista Ultimate....
2008-04-04
2,546 reads
Going through the Microsoft KnowledgeBase updates, I saw this one:
An SPN for the SQL Server Browser service is required when...
2008-04-04
2,506 reads
MVP Andy Leonard has written a nice post about how the dynamics changed on a project team. Most of it...
2008-04-04
616 reads
I needed a KVM (keyboard-video-mouse) switch for home to let me switch between two machines, found the Trendnet 2 Port...
2008-04-03
331 reads
Just a link today, but a good one on Building a Powerful Reputation that is a nice follow up to my...
2008-04-02
468 reads
Yesterday I found out that I am a new SQL Server MVP. I still have the feeling that I am...
2008-04-02
388 reads
I've been following their blog for a while at LibraryThing and so far it looks interesting. The basic premise is...
2008-04-01
269 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
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