SQLSaturday in Wheeling WV and Birmingham, AL
John Baldwin and Morgan Smith are going to repeat in Birmingham this year on Mar 27. They’ve got a great...
2009-12-15
601 reads
John Baldwin and Morgan Smith are going to repeat in Birmingham this year on Mar 27. They’ve got a great...
2009-12-15
601 reads
I had a question from a member of our local user group about options to get a legal copy of...
2009-12-15
745 reads
My friend Ryan Duclos just sent me a reminder about the upcoming Alabama Code Camp on January 23, 2010, in...
2009-12-14
691 reads
In Update #20 I mentioned that I was hoping to get the chapters portfolio for 2010. A few weeks have...
2009-12-14
728 reads
We started off our end of year meeting with our standard networking meet and greet. It’s going smoother, people are...
2009-12-13
565 reads
I’m closing in on vacation – finally – and one of the things I’ll have in the back of my head while...
2009-12-13
591 reads
Assuming no major problems at work, I’m heading to the South side of town the afternoon of Dec 14, 2009...
2009-12-11
393 reads
I continue to read biographies without a real direction, stumbling across an interesting event in one and following that to...
2009-12-10
322 reads
A guest editorial from Andy Warren today looks to inspire you with a few thoughts about how you might force yourself to grow a little next year.
2009-12-10
126 reads
It’s a compilation of the best articles over the past year or so, all pushed into a nice PDF that...
2009-12-09
401 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