Setting the default file type for a new file in VS Code
Just a short post today. When you open a new file in VS Code (Using CTRL + N) it opens by...
2017-05-02 (first published: 2017-04-24)
829 reads
Just a short post today. When you open a new file in VS Code (Using CTRL + N) it opens by...
2017-05-02 (first published: 2017-04-24)
829 reads
So today I saw this tweet from Mathias in reply to Stefan and Amanda
That looks cool. Twitter in VS Code, one...
2017-04-28 (first published: 2017-04-19)
1,016 reads
Last week I was showing a co-worker some PowerShell code and he asked what the editor was that I was...
2017-04-13
476 reads
WARNING – Contains Orange and light-hearted photos
I have returned home from SQLBits 2017 The Disco Edition. I am exhausted, my...
2017-04-11
557 reads
There are times when DBA’s are required to export database user permissions to a file. This may be for a...
2017-04-10
2,379 reads
A good security practice is to backup our SQL Servers to a network share but not allow users to be...
2017-04-13 (first published: 2017-04-08)
1,396 reads
SQL Server uses identity columns to auto generate values, normally keys. When you create an identity column, it has a...
2017-04-07
570 reads
In my last post I showed Get-DbaLastGoodCheckDb from dbatools. This module is a community based project written by excellent, brilliant...
2017-04-06
544 reads
As good SQL Server DBA’s we want to ensure that our databases are regularly checked for consistency by running DBCC...
2017-04-05
663 reads
If your server collation is different to your database collation then you may find that you get an error similar...
2017-04-03
671 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