Book Review: SQL Server 2008 Query Performance Tuning Distilled
I'm just finishing up SQL Server 2008 Query Performance Tuning Distilled by Grant Fritchey and Sajal Dam and overall I've...
2009-05-07
500 reads
I'm just finishing up SQL Server 2008 Query Performance Tuning Distilled by Grant Fritchey and Sajal Dam and overall I've...
2009-05-07
500 reads
A few weeks back I wrote about trying out the LinkedIn Add-in and time has reinforced for me that it's...
2009-05-06
492 reads
As I've mentioned in earlier posts (Part 1, Part 2, Part 3) I've engaged speaking and networking Don Gabor to...
2009-05-05
419 reads
My friend Grant Fritchey recently posted in response to a quiz and at the end of that mentioned that he'd...
2009-05-04
588 reads
Just had a call with Ken Starnes last week and all is proceeding for a great two track event in...
2009-05-04
300 reads
If you haven't already, start with Part 1 and Part 2. In Part 2 I mentioned that I have hired Don to coach me on networking, and this week I'll share some results from our first 1.5 hour session.
2009-05-04
975 reads
I drove up on Friday night for the speaker dinner, getting there after a busy day trying to catch up...
2009-05-03
424 reads
I've been trying to feature a blog each month and for April (one day late!) it's Aaron Alton. HOBT stands...
2009-05-01
496 reads
Last Friday I posted about turning my first pen on a lathe, this week I'm discussing my other recent project,...
2009-04-30
1,745 reads
I serve on the PASS Board of Directors, but this post reflects my personal views and not an official PASS...
2009-04-30
1,432 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