MSSQLTips: How to setup and use a SQL Server alias
I've written my first tip for MSSQLTips.com:
How to setup and use a SQL Server alias
It's a pretty simple thing to...
2008-11-05
909 reads
I've written my first tip for MSSQLTips.com:
How to setup and use a SQL Server alias
It's a pretty simple thing to...
2008-11-05
909 reads
In my previous posts The Wise Old Man Part 1, The Wise Old Man Part 2 and The Wise Old...
2008-11-05
837 reads
I attended the Business of Software a couple months ago and really enjoyed the conference. I wrote a series of...
2008-11-05
320 reads
A couple weeks ago I wrote about trying to decide whether to run for the PASS board. I talked about...
2008-11-04
559 reads
With a large election year in the US (President + all the other races), I've been more interested than in some...
2008-11-04
400 reads
I'm not trying to talk politics here, but I don't want to be so politically correct that I avoid important...
2008-11-03
457 reads
Speaker: Brian Kelley
Midlands PASS Chapter - November 6, 2008 Meeting
Sponsored by Red Gate Software
The Midlands PASS chapter will hold our normally...
2008-11-03
521 reads
When I came home from work tonight, there waiting on my was my copy of Professional Microsoft SQL Server 2008...
2008-11-03
1,167 reads
Microsoft has launched a new SQL Server 2008 marketing-related website at www.sqlserverenergy.com. It is available in 11 languages, and offers...
2008-11-03
853 reads
In my previous posts The Wise Old Man Part 1 and The Wise Old Man Part 2 I wrote about...
2008-11-03
717 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