Query Store Error State
We recently discovered some of our databases in an Error State for SQL Server. Microsoft has indicated this is a...
2018-06-26
176 reads
We recently discovered some of our databases in an Error State for SQL Server. Microsoft has indicated this is a...
2018-06-26
176 reads
We recently discovered some of our databases in an Error State for SQL Server. Microsoft has indicated this is a...
2018-06-26
1,008 reads
While the text of this post contains good information on SSMS object filters, I highly recommend watching this week’s video...
2018-07-05 (first published: 2018-06-26)
2,505 reads
Watch this week's video on YouTube
While the text of this post contains good information on SSMS object filters, I highly recommend watching this week's video on YouTube - I...
2018-06-26
16 reads
Watch this week's video on YouTube
While the text of this post contains good information on SSMS object filters, I highly recommend watching this week's video on YouTube - I...
2018-06-26
10 reads
I have quite a few speaking engagements coming up. Rather than an intermittent blog post, I’ve decided to have a...
2018-07-04 (first published: 2018-06-25)
1,653 reads
When I think of the public role I often think of the guest database principal (user) at the same time....
2018-06-25
290 reads
On Wednesday July 11th, please join Idera Geek Sync at 11AM Central for a walk through some basics in Execution Plans. We will look at the history of execution...
2018-06-24
24 reads
On Wednesday July 11th, please join Idera Geek Sync at 11AM Central for a walk through some basics in Execution...
2018-06-24
357 reads
Thanks for joining me for a full room and a boatload of quick-delivered SQL 2017 information in the second timeslot today at SQLSaturday Houston 2018! Lots of great questions,...
2018-06-23
8 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