The Benefits of a Flexible Schedule
Both my wife and I work from home, and we've done it for years. I've been working full time for...
2009-08-14
987 reads
Both my wife and I work from home, and we've done it for years. I've been working full time for...
2009-08-14
987 reads
Greetings, ALL:
As more and more companies get on board and begin to adapt SQL Server 2008, what is the best...
2009-08-13
692 reads
If you're not familiar with the reference, it comes from the movie Madagascar and the subsequent sequel and TV series...
2009-08-13
13,934 reads
Well, actually, these are the guidelines for submitting anything to SQLPASS, but it includes the guidelines for SQL Server Standard....
2009-08-13
1,174 reads
Well I spent most of this past Saturday upgrading my Laptop to Windows 7 Ultimate, which I have to say...
2009-08-13
756 reads
In a previous blog post, I began writing about how one might start a career as a database professional, and...
2009-08-13
619 reads
I guess I did a good job, with all 3s and 4s in my eval (meaning good and great) for...
2009-08-13
789 reads
One of the reasons that I think the PASS Summit fits well in Seattle is the support that they get...
2009-08-13
922 reads
We’ve just posted our core guidelines for technical content on sqlpass.org. The short story is there are three main ways...
2009-08-12
878 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-08-12
419 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