Catching up on SSC
Hey there gang ! – It’s been a while since I’ve written on here and I apologize. It’s shameful I know. I...
2010-08-19
370 reads
Hey there gang ! – It’s been a while since I’ve written on here and I apologize. It’s shameful I know. I...
2010-08-19
370 reads
This is long overdue and goes out to my buddies from the SSAS Class I taught late last year. Two...
2010-08-19
397 reads
One of the most common questions I get from folks during out quickstart engagements is around a new service in...
2010-08-19
472 reads
Check out our latest book on Amazon. It’s not for sales yet, but just seeing the title up there is...
2010-08-19
358 reads
Some great SQL Lunch sessions are coming up. Some from Pragmatic folks and some from other great speakers and community...
2010-08-19
393 reads
Hey folks. I have yet to explore the world of Wolfram Alpha and still don’t claim to be an expert...
2010-08-19
516 reads
I get to work with a lot of different clients and client environments and like many companies they are often...
2010-08-19
348 reads
Pretty exciting stuff gang! I have an approved session and an alternate for the PASS Summit in November. The SQL...
2010-08-19
323 reads
What are we talking about?
Recently Microsoft released a new version of SQL Server 2008 R2 called Parallel Data Warehouse Edition....
2010-08-19
785 reads
Well SQL Saturday here in South Florida was QUITE an event this past weekend. We had over 400+ attendees and...
2010-08-19
477 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