T-SQL Tuesday 14: Resolutions #TSQL2sDay
Time for the first T-SQL Tuesday of 2011. This month Jen McCown (Blog | @midnightdba) is hosting the event. The topic...
2011-01-11
565 reads
Time for the first T-SQL Tuesday of 2011. This month Jen McCown (Blog | @midnightdba) is hosting the event. The topic...
2011-01-11
565 reads
I’ve recently come to realize what a truly remarkable feature it is to be able to
format report text using simple...
2011-01-11
777 reads
Watching videos?! Su-ure!
Week five and it seems like time is going by faster than I had expected it would. As...
2011-01-11
286 reads
In my invitation to T-SQL Tuesday #014, I picked the topic “Resolutions”, clearly to play on the new year. The...
2011-01-11
760 reads
Tis the calm before the storm. At least it feels like that. The invites have all been sent. The presenter lined up. Reminders have been sent and now we...
2011-01-11
11 reads
Tis the calm before the storm. At least it feels like that. The invites have all been sent. The presenter...
2011-01-11
474 reads
Last week Jonathan Kehayias (Blog|Twitter) used his blog to publicly call out Thomas LaRock (Blog|Twitter). I am not going to...
2011-01-11
680 reads
Is it just me or has the community done the whole “What are my goals for this year” thing to...
2011-01-11
657 reads
SQLBits, the largest SQL Server conference is Europe, will be held this April 7-9, 2011 in Brighton, England at the...
2011-01-10
563 reads
The recently resurrected DevTeach/SQLTeach event will be held May 31 through June 2, 2011 in Montreal, Canada at the Montreal...
2011-01-10
652 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