SQL Saturday Richmond
SQL Saturday Richmond is just 5 days away and this will be the second time I have been selected to...
2018-03-19
246 reads
SQL Saturday Richmond is just 5 days away and this will be the second time I have been selected to...
2018-03-19
246 reads
I joined in on an interesting conversation the other day on twitter. It was about some unusual ramifications of GDPR...
2018-03-19
409 reads
Introduction:-Β
In this first article of the series Understanding Azure SQL Database in which I am going to publish in the coming weeks to understand Azure SQL Database concepts. After...
2018-03-18
19 reads
Introduction:-Β
In this first article of the series Understanding Azure SQL Database in which I am going to publish in the...
2018-03-18
648 reads
My session on Adaptive Query Processing has been finding significant interest in Data Platform events π Delivered 2 webinars for Data Platform Geeks community, one of them at American...
2018-03-18
32 reads
My session on Adaptive Query Processing has been finding significant interest in Data Platform events π Delivered 2 webinars for Data Platform Geeks community, one of them at American...
2018-03-18
32 reads
Good crowd, well organizedTook down registration early, perhaps 10 am, and that confused a few late(r) attendees (I like to...
2018-03-18
163 reads
My session on Adaptive Query Processing has been finding significant interest in Data Platform events π Delivered 2 webinars for Data...
2018-03-18
764 reads
In my experience, there have been occasions where SQL Server Management Studio (SSMS) becomes unresponsive for a length of time....
2018-03-16
804 reads
We all know that the magic figure for cost threshold for parallelism is 5 by default, meaning if the estimated...
2018-03-26 (first published: 2018-03-16)
2,341 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