Tour de Career: Prologue
Tour de Career
It’s July and for some that means baseball and bar-b-ques. For me it means my birthday and Tour...
2010-07-16
654 reads
Tour de Career
It’s July and for some that means baseball and bar-b-ques. For me it means my birthday and Tour...
2010-07-16
654 reads
Here we go again with another round of T-SQL Tuesday fun this time brought to you by recent SQL Certified...
2010-07-13
639 reads
This post is a tad overdue as the public announcement was a few weeks back but it’s been a topsy-turvy...
2010-07-12
458 reads
New hotness
First of all I apologize for this roundup taking more time than usual to appear. This last week was...
2010-06-14
674 reads
PowerShell = Giggity Giggity Goo
Ok so in the last 48 hours I think I’ve fallen madly in love with PowerShell. My...
2010-06-10
920 reads
This is just a reminder that this month’s Professional Development virtual chapter meeting we have MVP, PASS Board member, and...
2010-06-07
414 reads
Invitation for T-SQL Tuesday #007
New hotness
Welcome back to the blog party known as T-SQL Tuesday. I’m honored to be hosting...
2010-06-01
600 reads
If you’ve ever read Spider-Man or spent any sort of time around the Marvel Universe (movies included) you’ll have no...
2010-05-15
659 reads
This is just a quick post to let everyone know that this week marks the return of the PASS Professional...
2010-05-10
487 reads
Girl Property Surrounded by Geek Objects
I’ve just started watching The Big Bang Theory so I figured I’d borrow a naming...
2010-04-27
807 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