Need to output CSV, TSV, or other?
Ever have the need to create a CSV list in SQL Server? Not sure how? Starting in SQL Server 2017...
2017-07-31
417 reads
Ever have the need to create a CSV list in SQL Server? Not sure how? Starting in SQL Server 2017...
2017-07-31
417 reads
Today’s blog post is going to be a short one but can be very helpful if you’re new to SQL...
2017-07-28 (first published: 2017-07-14)
12,367 reads
I was reading Brent’s blog today and decided to make my own $250k dream car garage list. Mostly because I...
2017-07-18
261 reads
The SQL Server errorlog is a really helpful place to find all sorts of fun facts about your SQL Server...
2017-06-29
906 reads
It’s hard to believe but a full year has now passed as of today. It’s my blogoversery! Can that be...
2017-06-22
436 reads
Recently my wife and I were comparing Cortana with Siri. It’s sometimes fun to compare virtual assistants to see how...
2017-06-16 (first published: 2017-06-01)
2,751 reads
Imagine a world where one of the software giants releases their brand new operating system and a new application architecture...
2017-06-09
1,601 reads
Real quick and simple post for today. Having grown up with a computer since the 80’s, I can tell you...
2017-06-08
544 reads
The one and only important factor in monitoring is data. How much of x and how little of y? If...
2017-06-05
585 reads
Sometimes it helps to go back to the basics and indexing is always a great topic. SQL Server has a...
2017-05-09 (first published: 2017-04-27)
3,119 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