Using the AST in Pester for dbachecks
TagLine – My goal – Chrissy will appreciate Unit Tests one day
Chrissy has written about dbachecks the new up and coming...
2018-01-15
344 reads
TagLine – My goal – Chrissy will appreciate Unit Tests one day
Chrissy has written about dbachecks the new up and coming...
2018-01-15
344 reads
Did you know that items in the Object Explorer can be dragged and dropped into a query window? This can...
2018-01-14
317 reads
Yeah I know its new year and i am back from quite some time. during these days i was learning...
2018-01-13
319 reads
We’re all used to using the clipboard in Windows programs. You copy something into it with Ctrl+C, and paste it...
2018-01-13
401 reads
This is day 2 of the Advent of Code 2017. If you want to read about the puzzles, start with...
2018-01-13
887 reads
In yesterday’s tip, I showed an example of changing a block of text from upper case to lower case. However,...
2018-01-12
296 reads
In the second part of our series on creating a SQL Server test lab on your workstation, I’m going to...
2018-01-12 (first published: 2018-01-03)
2,337 reads
Phew, what a week! Have been looking for a new flat to live so it’s been a bit mad. Have...
2018-01-12
321 reads
My bold learning goals call for adequate preparation and proportionate action. Before plunging into the challenge, I need to get...
2018-01-12 (first published: 2018-01-02)
1,815 reads
While Regular Expressions lets us work with text not cleanly formatted, if you are trying to work with text that...
2018-01-11
247 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