A Not Quite Average Sunday
Ever had a day when a bunch of small things run together to create a day you wish you had...
2009-10-12
331 reads
Ever had a day when a bunch of small things run together to create a day you wish you had...
2009-10-12
331 reads
See his quiet post about it here. This comes right after finishing up his first book titled Protecting SQL Server...
2009-10-12
287 reads
We just had our October board meeting, this one ran the full hour and was a good discussion, catching up...
2009-10-12
235 reads
I try to be balanced on new technology and ideas, trying to find the middle ground between hype and usefulness,...
2009-10-11
392 reads
Yesterday was a typical Florida afternoon, sudden down pour of rain, but not a storm. Just slow solid rain for...
2009-10-08
334 reads
If you’re attending the PASS Summit this year I hope you’ve decided to attend the two hour Networking to Build...
2009-10-08
575 reads
Not very often I run across something with zero matches in a search engine, but had it happen recently. I...
2009-10-07
361 reads
I’ve been working on an idea for a while with Brent Ozar and Jeremiah Peschka for a contest that recognize...
2009-10-06
1,598 reads
No, I didn’t attend this one!
My friend Jonas Stawski is the organizer and we’ve been pleased to be a...
2009-10-06
379 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-10-06
342 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