SQLRally Logo Contest - Fame & Fortune Up For Grabs!
Now that the PASS SQLRally (formerly known as the spring event) has a name it's time to start building a...
2010-07-22
685 reads
Now that the PASS SQLRally (formerly known as the spring event) has a name it's time to start building a...
2010-07-22
685 reads
Hey folks, Check out SQLLunch.com today at 12:30 EST for my presentation on Introduction to dimensional modeling. It's going to...
2010-07-22
387 reads
SQLBits is Europe’s Largest SQL Server Event
That’s right, just take a moment to let that point hit home. If you...
2010-07-22
880 reads
Over the past couple years our local library system has been under financial pressure, resulting in some changes, and maybe...
2010-07-22
994 reads
The hardest thing, I think, for most new organizers of a SQL Saturday is the fundraising. A few years ago...
2010-07-22
1,098 reads
Microsoft has released CTP1 of Project Houston for SQL Azure. Project Houston is a Silverlight web based database management tool...
2010-07-22
669 reads
Last night (July 21, 2010) I had the honor of being a speaker at the Baton Rouge .Net User Group. ...
2010-07-22
814 reads
Microsoft has released SQL Server 2008 SP1 Cumulative Update 9 (CU9). The KB Article for the CU is located here....
2010-07-21
901 reads
In case you missed it the Program Session (60 min. long) selections are now available on the 2010 PASS Summit...
2010-07-21
524 reads
Sometimes, its just the smallest of details that can make all the difference. For example, on my test system (see...
2010-07-21
3,397 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