S3OLV March 2011
The Ides of March are upon us and that means that we have another opportunity to learn some stuff about...
2011-03-02
556 reads
The Ides of March are upon us and that means that we have another opportunity to learn some stuff about...
2011-03-02
556 reads
The Goal
It’s often useful to be able to run a bunch of stored procedures in the background over a period...
2011-03-02
1,161 reads
If you’re looking for a day of training in the Twin Cities, then check out Benchmark Learning’s2011 TechFuse event. The...
2011-03-02
617 reads
I can’t tell you that all of your dreams will come true. I won’t tell you that you will make...
2011-03-02
536 reads
In my previous post, I discussed what shared schedules were and how you could use them. With that knowledge under...
2011-03-02
1,929 reads
Microsoft actually released SQL Server 2008 R2 Cumulative Update 6 on February 21, 2011, so I am a little late...
2011-03-01
1,080 reads
Recently, I came across the need to delimit some data in order to be able to test some procedures that I was writing. The procedures need to be able...
2011-03-01
11 reads
Recently, I came across the need to delimit some data in order to be able to test some procedures that...
2011-03-01
614 reads
The raincoast weather could be a little better, but so far, I am very happy with the brain-filling load of...
2011-03-01
917 reads
I will be attending and speaking at the Rocky Mountain Tech Trifecta in downtown Denver on March 5, 2011. This...
2011-03-01
502 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