Overview of SQL Server 2017 Docker containers on Linux machine
SQL Server 2017 is the biggest release and most important releases in the Microsoft product history simply because of the...
2018-06-20
1,413 reads
SQL Server 2017 is the biggest release and most important releases in the Microsoft product history simply because of the...
2018-06-20
1,413 reads
A common mistake, and one I make frequently myself is to use a string in place of an identifier, or...
2018-07-02 (first published: 2018-06-20)
3,408 reads
Ever seen the below error? Until this week I hadn’t. So, I figured I’d take a little time and introduce...
2018-06-28 (first published: 2018-06-20)
11,041 reads
Reading Time: 6 minutes (not a minute longer)
TLDR; ARM templates are a great way to deploy to Azure, setting up...
2018-06-19
399 reads
Reading Time: 6 minutes (not a minute longer)
TLDR; ARM templates are a great way to deploy to Azure, setting up...
2018-06-19
306 reads
Reading Time: 6 minutes (not a minute longer)
TLDR; ARM templates are a great way to deploy to Azure, setting up a template that can deploy an entire environment from...
2018-06-19
14 reads
I’m speaking along with many other amazingly talented professionals, including Adam from Guy In A Cube. If you’re in the...
2018-06-19
321 reads
Removing a database from an Always On availability group is pretty straight forward and can be accomplished by either ssms...
2018-06-19
135 reads
The wife and I are making the road trip this weekend to SQLSat Houston and we're both speaking!This SQLSaturday Houston is going to be great - looking forward to...
2018-06-19
14 reads
Why Do I Care? Everything in SQL Server is stored on disk in 8K pages. The Microsoft recommended best practice...
2018-06-19
90 reads
Creating a Fabric workspace takes about 30 seconds. Restructuring workspaces after people have built...
By Steve Jones
It’s a small change, but a handy one. Flyway Desktop (FWD) now includes the...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
Comments posted to this topic are about the item Adding new column with DEFAULT...
Comments posted to this topic are about the item Advanced Deployment Scenarios: Stairway to...
Comments posted to this topic are about the item You Need a DBA Pipeline
Which number did the two COUNT(*) return:
DROP TABLE IF EXISTS #tmp CREATE TABLE #tmp (id INT NOT NULL) INSERT INTO #tmp (id) SELECT gs.value FROM GENERATE_SERIES(1, 5) AS gs ALTER TABLE #tmp ADD my_value INT NOT NULL CONSTRAINT df_tmp_my_value DEFAULT 1 SELECT COUNT(*) FROM #tmp AS t WHERE my_value = 1 ALTER TABLE #tmp DROP CONSTRAINT df_tmp_my_value ALTER TABLE #tmp ADD CONSTRAINT df_tmp_my_value DEFAULT 2 FOR my_value SELECT COUNT(*) FROM #tmp AS t WHERE my_value = 1See possible answers