SQLSaturday #49 tomorrow!
This is just a quick note to let you know SQLSaturday #49 in Orlando is tomorrow! If you’re in the...
2010-10-15
401 reads
This is just a quick note to let you know SQLSaturday #49 in Orlando is tomorrow! If you’re in the...
2010-10-15
401 reads
Patrick Is the lead Singer
Sirens. Their sweet songs lured sailors to their deaths in tales of yore. Alas, I too...
2010-10-04
693 reads
Pirate Code: They're more like guidelines really...
The last few weeks we’ve watched the drama unfold in regards to the PASS...
2010-09-02
1,313 reads
A few weeks ago Andy Leonard (Blog | Twitter) announced that he was stepping down from his position as PASS Regional...
2010-08-25
383 reads
I think the shirt says it all
If you’ve been under a rock the last few weeks you may not know...
2010-08-25
532 reads
Just a quick note that today at 12:30 EST (11:30 CST) I’ll be presenting on Policy-Based Management for SQLLunch. If...
2010-08-17
431 reads
Pirate Cat can haz ur Swag?
Well it’s the first Monday back since this amazing trip and some folks have wasted...
2010-08-09
667 reads
I work for a very large company where divisions are spread out literally all over the world. There are many...
2010-07-28
926 reads
I'M ON A BOAT!
This is just a quick note to say that I’ll be in South Florida this weekend presenting...
2010-07-27
423 reads
In cycling each team is made up of nine riders. Each rider on a team can have a different specialization....
2010-07-26
670 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