In The Spotlight!
I received an unexpected but certainly not unwelcome email last night letting me know that I've been selected to present...
2010-06-23
418 reads
I received an unexpected but certainly not unwelcome email last night letting me know that I've been selected to present...
2010-06-23
418 reads
Life in the event leader fast lane, finally got the signs for our upcoming #49 here in Orlando. In past...
2010-06-23
547 reads
Using the command prompt for stopping and starting services is a very nice possibility and very fast! We know that...
2010-06-23
17,395 reads
Microsoft has released SQL Server 2008 R2 RTM Cumulative Update 2 (CU2) today. It became available for download today, and...
2010-06-23
2,896 reads
SQL Saturday - Columbus, OH, June 26, 2010 I'll be presenting two sessions this Saturday (June 26, 2010) in Columbus, OH...
2010-06-23
632 reads
Make sure to check out the comments on this one!
A short conversation on Twitter Monday night reminded me of this...
2010-06-23
1,143 reads
I’ve been attending a Powershell fundamentals class with Don Jones (blog|twitter). If you read my blog you might be aware...
2010-06-23
1,715 reads
Starting today, you can vote for the 2010 Exceptional DBA of the Year. All of the nominations have been reviewed...
2010-06-23
471 reads
Error 25602 When Creating an Extended Events Session: a Security Risk
I came across an interesting issue recently when helping someone...
2010-06-23
3,620 reads
On the 19th/20th May (last month) the Professional Association of SQL Server (PASS) held its second 24 hours of PASS...
2010-06-23
730 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