Function Calls are Evil Incarnate
The following queries look extremely innocent. However, they are all application killers once the target table grows to more than...
2010-06-28
1,362 reads
The following queries look extremely innocent. However, they are all application killers once the target table grows to more than...
2010-06-28
1,362 reads
After 10 Years, a Move Closer to School and Work
Wow, how moving house interrupts life. I can appreciate we have...
2010-06-28
519 reads
It’s been a busy month for me for PASS activities. I spent almost the entire week last week on PASS...
2010-06-28
706 reads
Thanks to the outstanding efforts of Tim Edwards (twitter | blog), our fearless leader, and the rest of the crew, the PASS...
2010-06-28
904 reads
2010-06-28
691 reads
One of my back burner projects is to setup a local user group.
I'm delighted to now say that this is...
2010-06-28
411 reads
“...And the world is filled with people who can't go to high school, never mind college, and who certainly can't...
2010-06-28
653 reads
I’m not a big networking person. I know that it’s good for my career, but I’ve been lucky enough to...
2010-06-28
756 reads
OK, are you ready to start the MDX journey. In MDX Puzzle #1 posting I presented you with the challenge...
2010-06-28
899 reads
It’s as simple as that. If you don’t specify ORDER BY, then the order of your result set is not...
2010-06-26
724 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