SQLSat 142 – Waltham
Wow – have I ever been dark and silent this past couple of months. Nothing like the present to reverse that...
2012-05-18
871 reads
Wow – have I ever been dark and silent this past couple of months. Nothing like the present to reverse that...
2012-05-18
871 reads
I saw this on the Boing Boing feed yesterday, Little Free Library is a project to try to build 2500...
2012-05-18
847 reads
Denali – Day 18: Engine: Express LocalDB–Command line
Express LocalDB is an express edition with minimum files required to start sql server...
2012-05-18
1,969 reads
I’ve been deliberating over the last few years whether to make the leap into the contracting/consulting world.
Speaking to a good...
2012-05-18
806 reads
Having ventured into both the SQL Server world and the depths of Oracle RDBMS – Im often asked what the differences...
2012-05-18
761 reads
A few weeks back, I got into a conversation about whether PASS should put the boot down on events and...
2012-05-17
1,010 reads
Baton Rouge’s annual tech event for the IT community is coming up August 4th on the beautiful campus of LSU....
2012-05-17
668 reads
I had the pleasure of attending SQL Saturday 112 this past weekend. This was my second time speaking at a...
2012-05-17
607 reads
Denali – Day 17: Distributed Replay
Distribution replay a new command prompt utility provided by Denali, this works same as Profiler Reply...
2012-05-17
1,037 reads
As I learnt a few things about blogging, I made a list of tips to get better at blogging. Thought...
2012-05-17
914 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