Drive
I saw a short talk from Dan Pink a few months back from this year’s TED conference. It’s very cool,...
2010-08-18
1,062 reads
I saw a short talk from Dan Pink a few months back from this year’s TED conference. It’s very cool,...
2010-08-18
1,062 reads
Microsoft has released Cumulative Update 11 for SQL Server 2005 SP3, which is Build 9.0.4309. There are only four fixes...
2010-08-17
833 reads
Microsoft has released Cumulative Update 3 for SQL Server 2008 R2 RTM, which is Build 10.50.1734. I count 29 fixes...
2010-08-17
899 reads
I am a pretty big fan of SQL Server Data Compression, especially the enhanced version found in SQL Server 2008...
2010-08-17
2,322 reads
First, apologies to those of you outside the Dallas-Ft. Worth metro area… I’ve backed off from using my blog as...
2010-08-17
609 reads
Have you ever run into an error and been puzzled as to why that error occurred?
Recently I have been working...
2010-08-17
781 reads
Looking for some free SQL Server training? How about 24 hours of free training offered by some of the top...
2010-08-17
494 reads
Just a quick note that today at 12:30 EST (11:30 CST) I’ll be presenting on Policy-Based Management for SQLLunch. If...
2010-08-17
431 reads
SQLSaturday is coming to Nashville this weekend, Saturday August 21st at 8:00am in the Student Services building of Nashville State...
2010-08-17
319 reads
Piggybacking tangentially off of Tim Mitchell’s (blog, Twitter) SSC editorial Turn a Bad Job into a Good Experience…yesterday I got...
2010-08-17
677 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