I’m Speaking! Quad Cities PASS User Group
I always have a special place in my heart for the SQL Server user groups of the mid-west. I ran...
2017-08-09
326 reads
I always have a special place in my heart for the SQL Server user groups of the mid-west. I ran...
2017-08-09
326 reads
SqlServer Powershell Cmdlets 2017 - Initialize Look
Diving into the Sql Server Management Objects library can be a pretty interesting process. You...
2017-08-09
1,129 reads
I was fresh off the boat* from South Africa, working in a small computer store in an equally small town...
2017-08-09
159 reads
I’m very honored to be able to announce that I am going to be speaking at IT/Dev Connections in San...
2017-08-09
188 reads
I’m very honored to be able to announce that I am going to be speaking at IT/Dev Connections in San...
2017-08-09
336 reads
In this module you will learn how to use the Quadrant Chart Custom Visual. The Quadrant Chart is used to...
2017-08-09
642 reads
In today’s continuation of the SQL / Oracle series, I thought it’d be nice to show how different the two are...
2017-08-09
301 reads
We know that we need to keep our credentials secure. We know that we should not re-use our passwords across...
2017-08-09
1,598 reads
I recently came up against a SQL Server instance that wouldnt start, after going through the event log the reason...
2017-08-09
249 reads
As mentioned in Part 1 of this “SQLCLR vs. SQL Server 2017” series, the new clr strict security server-level configuration...
2017-08-09
976 reads
By James Serra
Making Data AI-Ready, Part 3 (This is the final article in a three-part series...
By Steve Jones
I use ConEmu for my terminal interface. I’m still on Windows 10 at home,...
Creating a Fabric workspace takes about 30 seconds. Restructuring workspaces after people have built...
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