SQLDIY: Alert On Blocking Chains
Continuing the SQLDIY monitoring project we will take a look at tracking blocking events. I actually received a request to...
2011-03-01
2,868 reads
Continuing the SQLDIY monitoring project we will take a look at tracking blocking events. I actually received a request to...
2011-03-01
2,868 reads
By default Firefox doesn’t pass through NT credentials, not a big deal when you’re browsing Amazon by a big pain...
2011-03-01
941 reads
As DBAs, we have all received a phone call from a database user, asking why the database is so slow....
2011-03-01
604 reads
I’m glad I went running this morning. It’s been a long day, in and out of sessions and meetings all...
2011-03-01
397 reads
The problem with performance tuning is that it is commonly considered as secondary to the task at hand rather than...
2011-03-01
727 reads
As you will see by the dates in my screenshots, I wrote them quite a while back while touring the...
2011-02-28
2,391 reads
One of the more exciting features in SQL Server code-named “Denali” (which is the current official name for the next...
2011-02-28
1,874 reads
It’s official, I’ll be speaking at SQLSaturday #63 April 2nd. It is something near and dear to my heart, solid state storage....
2011-02-28
1,355 reads
Have you wondered how much memory was being consumed by SQL Server? Have you wondered if there was a way to find out that information from a tSQL command?...
2011-02-28
16 reads
Have you wondered how much memory was being consumed by SQL Server? Have you wondered if there was a way...
2011-02-28
3,533 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