Book Review: Fault Line
I finished reading Fault Line by Barry Eisler ($16.50 @ Amazon) a few weeks ago. I’ve been a fan for a...
2009-07-17
603 reads
I finished reading Fault Line by Barry Eisler ($16.50 @ Amazon) a few weeks ago. I’ve been a fan for a...
2009-07-17
603 reads
This edition of SQL School brings us a look at how to set single user mode for your SQL Server instance.
2009-07-16
4,215 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-07-15
427 reads
Saw an announcement in Eweek about this, so went looking and found this review of the Imation SSD Upgrade Kit....
2009-07-15
568 reads
Database Mail is an essential part of administering SQL Server for most people. MVP Andy Warren brings us part 2 of how to set up this subsystem.
2009-07-14
6,360 reads
I ran across this post about time to move beyond 960 where it talks about most websites today are designed...
2009-07-14
374 reads
Chad Miller will be doing a presentation on Powershell and we’ll have our usually round table discussion afterward – often the...
2009-07-14
472 reads
Cross posted from the SQLSaturday blog
Though few see it, we also maintain a full set of admin tools for the...
2009-07-14
540 reads
I’ll be attending SQLSaturday #16 in South Florida on August 8th and doing two presentations, one on statistics and one...
2009-07-13
333 reads
I finished up reading Traffic: Why We Drive the Way We Do by Tom Vanderbilt last week and enjoyed it....
2009-07-10
378 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