MSSQLTips Webinar with SIOS – Thursday 1p Eastern
Come join SIOS and me for an exciting webinar discussing the inherent challenges with infrastructure problems, database performance, and bridging...
2017-11-14
290 reads
Come join SIOS and me for an exciting webinar discussing the inherent challenges with infrastructure problems, database performance, and bridging...
2017-11-14
290 reads
It seems like more and more recently I have been writing powershell and typescript rather than c# and t-sql and...
2017-11-14
287 reads
It seems like more and more recently I have been writing powershell and typescript rather than c# and t-sql and there are quite a few things to like about...
2017-11-14
10 reads
It seems like more and more recently I have been writing powershell and typescript rather than c# and t-sql and...
2017-11-14
50 reads
It seems like more and more recently I have been writing powershell and typescript rather than c# and t-sql and...
2017-11-14
56 reads
Hi Folks,
I’m the new guy that my two colleagues are still trying to convince to write my first blog post...
2017-11-14
468 reads
Today I presented one of my favorite sessions - T-SQL's Hidden Support Feature - for the DBA Fundamentals group! They'll put up...
2017-11-14
357 reads
A lot of people have made a difference in my career. A LOT! I don’t think we ever thank those...
2017-11-14
610 reads
March 23rd, 2018, I’ll be teaching an all day class on Query Tuning Tools in Richmond Virginia. I hope to...
2017-11-14
373 reads
This post is part of TSQL Tuesday, a monthly blog party. You’re welcome to join in this party: if you’d like email notifications of future topics, here’s how to...
2017-11-14
21 reads
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...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
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