Getting Random Results Posted on SSC
I previously blogged about using newid() to get random ordering and after chatting with Steve about it, decided to write...
2007-08-30
1,353 reads
I previously blogged about using newid() to get random ordering and after chatting with Steve about it, decided to write...
2007-08-30
1,353 reads
It's an interesting debate on blogging in response to my editorial. I definitely thing blogging is worth a try. You...
2007-08-28
1,493 reads
Our one day free SQL Server event is slowly gaining momentum! Draft schedule is at http://www.sqlsaturday.com/schedule.aspx. 30 sessions total and...
2007-08-27
1,584 reads
I attended for the morning and Brian attended in the afternoon and did a session as well. It was interesting...
2007-08-27
1,335 reads
Actually we had a long meeting with the developers this morning and PMs over a remote desktop session and I...
2007-08-24
1,393 reads
Working with developers is always very interesting, especially when you are a client. I'm sure that I'm not the best...
2007-08-21
1,419 reads
We went for a site visit Tues and I think it will really work out well for us. Good parking,...
2007-08-17
1,405 reads
Book reviews aren't easy and it's always hard to tell if you're telling the reader anything they can't learn from...
2007-08-17
1,361 reads
I live in Denver. That's in the Mountain time zone, either MDT or MST depending on the time of year,...
2007-08-14
1,436 reads
I've posted in the forums fairly often that there's kind of a black art to performance tuning. As with most...
2007-08-14
1,459 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