October 2010 TSQL Tuesday Reminder
Holy Cow, another month has flown by without much of a hint. We now have upon us another TSQL Tuesday....
2010-10-07
644 reads
Holy Cow, another month has flown by without much of a hint. We now have upon us another TSQL Tuesday....
2010-10-07
644 reads
I found The Literacy Project at Google after seeing a local op-ed piece about literacy. I love to read, a...
2010-10-07
447 reads
Not often I do plugs here, but then again, it’s rare that I just get first class service, so read...
2010-10-07
388 reads
One of the things that I’ve seen cause a few headaches at SQL Saturday events is the scheduling. First, before...
2010-10-07
500 reads
I am heading down to Houston, TX to speak at the Houston Techfest this weekend. Being a Houston native makes...
2010-10-07
405 reads
I recently did a VMWare/SAN assessment for a client. The expressed reason, or the reason relayed to me (not always...
2010-10-06
3,938 reads
As I write this SQLSaturday #49 in Orlando is right around the corner - October 16, to be exact. My friends...
2010-10-06
465 reads
From time to time I hear of DBAs that had to restart the SQL Server service on a 2005 or...
2010-10-06
972 reads
We technically released it on Monday but I didn’t want to blog about it for a couple days since we...
2010-10-06
747 reads
We crossed the 1,000,000 post mark on SQLServerCentral today and that’s very cool to me. A few others as well...
2010-10-06
431 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