TSQL Tuesday #60: Something New Learned – What permissions does have?
What have I learned recently? Well as it happens I learned something rather interesting recently and was actually trying to...
2014-11-11
1,670 reads
What have I learned recently? Well as it happens I learned something rather interesting recently and was actually trying to...
2014-11-11
1,670 reads
Moving data from columns to rows can be a tricky task and accomplished in a variety of ways. That may be...
2014-11-17 (first published: 2014-11-11)
8,032 reads
After an exciting week at the PASS Summit, I’m back home with my family. This was my first ever PASS...
2014-11-11
614 reads
Typically, making the output of an SSIS Package available to a client application for further processing is achieved by outputting...
2014-11-11
4,861 reads
What is T-SQL Tuesday?
T-SQL Tuesday is a monthly blog party hosted by a different blogger each month. This blog party...
2014-11-11
2,420 reads
It’s hard to believe it’s over. It felt like a whirlwind while I was in Seattle for my 7th PASS...
2014-11-10
474 reads
Suppose, sometimes you just need entry in the table with all the default values.
For example you have a Student...
2014-11-10
219 reads
This was one of those days I was waiting to happen. You might be wondering whats special? Yes, this day...
2014-11-10
860 reads
Just back from PASS Summit 2014 and I am feeling inspired about stepping it up a notch and starting to...
2014-11-10
488 reads
It’s Monday time for this week’s weekly link round-up. If you want to catch these links “live” (so exciting), follow...
2014-11-10
341 reads
By SQLPals
How to Clear the SSMS Cache (SSMS 21 and Later) Updated...
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...
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