SSC Editorial – Bad Database Design
I wrote this editorial about bad design based on some real world experiences. It’s a fun story, maybe even borderline...
2010-06-14
379 reads
I wrote this editorial about bad design based on some real world experiences. It’s a fun story, maybe even borderline...
2010-06-14
379 reads
Download Sample Project: Parameterized Report
In a recent forum post on BIDN.com a person asked how to filter the result on...
2010-06-13
2,278 reads
Last week I presented a couple of sessions at Tech Ed NA in New Orleans. It was a great experience,...
2010-06-13
744 reads
In a recent article (Reporting Services Parameters Not Updating), I showed how report parameters are not automatically updated upon adding...
2010-06-12
2,916 reads
SQL Saturday #43 in the Books
Another great SQL Saturday is in the books!! I had submitted 2 sessions, but there...
2010-06-12
915 reads
TechEd is finally over, and I have been overwhelmed by attending 20 different sessions over the last four days. As...
2010-06-12
441 reads
Last night we had our monthly Chapter User group meeting in affiliation with PASS. Honestly, the experience was quite humbling...
2010-06-11
587 reads
This is just tragic. Thanks to Brent Ozar (twitter | blog) for posting it.
Idera web site hit by SQL injection attack
The...
2010-06-11
578 reads
This day only comes around once in every four years, we've all been waiting for it for months. It's been...
2010-06-11
596 reads
I saw a post from Seth Phelabaum on SQLServerCentral reviewing his goals as of Q2. About 20 days premature, but...
2010-06-11
313 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