T-SQL Tuesday #097: Learning Plans
Stylishly Late
I am fabulously late and therefor breaking the guiding rules that make up TSQLTuesday. Where’s the ruler to slap...
2017-12-18
477 reads
Stylishly Late
I am fabulously late and therefor breaking the guiding rules that make up TSQLTuesday. Where’s the ruler to slap...
2017-12-18
477 reads
I have been working with azure arm functions for quite a while and they are exceptionally useful but also quite...
2017-12-18
463 reads
I have been working with azure arm functions for quite a while and they are exceptionally useful but also quite a pain to work with, visualizing what it is...
2017-12-18
16 reads
I have been working with azure arm functions for quite a while and they are exceptionally useful but also quite...
2017-12-18
52 reads
I have been working with azure arm functions for quite a while and they are exceptionally useful but also quite...
2017-12-18
54 reads
The Gestalt principles of visual perception describe how humans tend to organize visual elements into groups or unified wholes to...
2017-12-18
721 reads
One of the most useful tools to the DBA when we need to test new features, recreate a fault that...
2017-12-18
644 reads
The second best thing to questions that people ask is when I sit down to write a book. It’s so...
2017-12-18
763 reads
Hello Everyone! In this episode of the “Problem, Design, Solution” series we will be talking about the “Folder” option inside...
2017-12-18
620 reads
After years of having to deal with Connect – the feedback platform of Microsoft – it is announced a successor has been...
2017-12-18
1,150 reads
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...
By Steve Jones
It’s a small change, but a handy one. Flyway Desktop (FWD) now includes the...
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