Building Something Fun
A little further off topic than usual today, something not about technology and work for a change. Woodworking is one...
2009-04-23
1,412 reads
A little further off topic than usual today, something not about technology and work for a change. Woodworking is one...
2009-04-23
1,412 reads
This SQL School video looks at how you add a publication to a replication scenario.
2009-04-23
3,597 reads
I've had a few requests for these, so I'll take orders through May 8, 2009. The polo is a very...
2009-04-23
833 reads
My friend Will Strohl is managing the Day of DNN on June 13, 2009 at the Microsoft office in Tampa....
2009-04-22
713 reads
We'll all heard about or lived with outsourcing, and hopefully we know it's good and bad. Outsourcing the janitorial services...
2009-04-22
984 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-04-22
572 reads
I was reading a book recently and it equated brand with reputation. My first thought was "aha", that brand is...
2009-04-21
1,031 reads
SQL School expands its replication series with a look at how you can set up a subscriber with MVP Andy Warren.
2009-04-21
2,619 reads
Karla just emailed that the schedule is set, details at http://www.sqlsaturday.com/schedule.aspx, but to save you time here are the speakers...
2009-04-21
627 reads
Tom has been doing a series of interviews on his blog lately and I ended up on the list. Interviewing...
2009-04-20
524 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