The Story of the TV Stand
We all have those things that happen at work that somehow turn into something other than expected, and sometimes in...
2009-01-15
656 reads
We all have those things that happen at work that somehow turn into something other than expected, and sometimes in...
2009-01-15
656 reads
It's been about two weeks since I posted PASS Update #1, so time for another update on my activities as...
2009-01-14
730 reads
There are times that you do not want indexes to be updated and used. Brian Knight shows how you can accomplish this with a new SQL School video.
2009-01-13
3,285 reads
One of my goals for the year is to update my blog roll some and try to recognize new/interesting bloggers....
2009-01-13
654 reads
I'm a technology guy, but one lesson I've learned is that not all solutions can be solved by throwing technology...
2009-01-12
724 reads
I decided to attend to see how the group was doing and learn a little more about Dot Net Nuke...
2009-01-11
635 reads
I ran across the AlphaSmart Neo in The Writer magazine. It's a $219 "laptop" that is for writing only, basically...
2009-01-08
677 reads
I've been meaning to do this for a year, finally caught up with Eric Johnson of Consortio Services to do...
2009-01-08
723 reads
Yesterday I started discussing networking and the idea that it's time invested with no guarantee of a return on that...
2009-01-07
754 reads
This post, and the next couple in the series (which may not be this week) are me talking through what...
2009-01-06
667 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