SQL Bits 8
It seems the dates for the next SQLBITS have been released will take between April the 7th and April 9th...
2010-12-23
509 reads
It seems the dates for the next SQLBITS have been released will take between April the 7th and April 9th...
2010-12-23
509 reads
Rule: No Sushi with Adam within 24 hours of session
I’m inspired by Brent Ozar‘s and Andy Leonard‘s sharing of their PASS...
2010-12-23
791 reads
As I have done in previous years, I’m going to post the results from my sessions at the PASS Summit....
2010-12-23
801 reads
Data: it can break your foot.
Imagine that you are writing a script that looks at data grouped by the minute....
2010-12-23
1,154 reads
There are times when I wonder why I get so few comments on this blog, however there are assumptions I...
2010-12-23
765 reads
We’ve updated the original flyer to the new and improved model that has the prices. The image below is a...
2010-12-23
720 reads
This time the plan was to go to Arby’s because it was close and my friend Rob had coupons for...
2010-12-23
564 reads
“The human brain starts working the moment you are born and never stops until you stand up to speak in...
2010-12-23
1,192 reads
Found an interesting issue last week....it goes like this:
If you are using INSTEAD OF triggers on views (in SQL 2005)...
2010-12-23
809 reads
Introduction
I know I said I was going to add more information about the CDC system in this post, but I...
2010-12-23
1,372 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