T-SQL Tuesday #028 – Jack of All Trades, Master of None?
Every month the folks of the SQL Server community get together for a virtual block party of sorts called T-SQL...
2012-03-13
699 reads
Every month the folks of the SQL Server community get together for a virtual block party of sorts called T-SQL...
2012-03-13
699 reads
Another month and another opportunity to write about an interesting topic. This month hosting TSQL Tuesday is Argenis Fernandez (Blog...
2012-03-13
872 reads
This month, Argenis Fernandez (blog, @DBArgenis) is hosting our monthly T-SQL Tuesday, and he wants to know: Are you specialized?...
2012-03-13
952 reads
It's T-SQL Tuesday again, and this month Argenis Fernandez (@DBArgenis/Blog) is hosting with the topic of "Jack of All Trades,...
2012-03-13
955 reads
It’s that time of the month again, T-SQL Tuesday Tuesday. This month Argenis Fernandez, MCM, and big round SQL teddy-bear...
2012-03-13
1,174 reads
Last week the internet went crazy with the news of super cool new stuff for techies to play with.
If you’re...
2012-03-13
898 reads
This is something I trip over every now and then on systems we inherit from our clients, and I thought...
2012-03-12
678 reads
One of the things I hear a lot relating to work big and small is that it is “almost done”,...
2012-03-12
583 reads
While writing my last post on cleaning up old maintenance plans, I was reminded of something I heard in a...
2012-03-12
2,574 reads
When log records remain active for a long time – truncation can be delayed. The delays can cause the transaction logs...
2012-03-12
1,285 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