SSDT Dev in Visual Studio Code
I have been quite interested by vs code and have been using it more and more recently. I use it...
2017-04-27
237 reads
I have been quite interested by vs code and have been using it more and more recently. I use it...
2017-04-27
237 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,118 reads
I have been quite interested by vs code and have been using it more and more recently. I use it for all my GO (#golang FTW) work and also...
2017-04-27
25 reads
On May 18, 2017, I’ll be giving a talk at the Syntax Code and Craft Conference in Charleston, SC. If...
2017-04-27
817 reads
At SQLskills, we just launched our new training class on Azure that I will be teaching in Chicago, and my...
2017-04-27
888 reads
Another installment of 24 Hours of PASS is coming up next week on May 3-4! This semiannual event features 24...
2017-04-27
609 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-04-27
997 reads
Sometimes you get reminded that you don’t know everything about SQL Server and it’s various products Every time I run...
2017-04-27
572 reads
Resigned from post as PASS Chapter Leader in Cologne/Rheinland
Mit einiger Wehmut darf ich verkünden, dass ich das Amt des Regionalgruppenvertreters (RGV) der PASS Regionalgruppe Rheinland niedergelegt habe. Seit Januar...
2017-04-27
42 reads
Resigned from post as PASS Chapter Leader in Cologne/Rheinland
Mit einiger Wehmut darf ich verkünden, dass ich das Amt des Regionalgruppenvertreters...
2017-04-27
693 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