Without Borders β Getting Involved
One of the things I enjoy about the SQL community is the many people that you come into contact with....
2015-07-23
204 reads
One of the things I enjoy about the SQL community is the many people that you come into contact with....
2015-07-23
204 reads
Last year Kirsten Benzel(b/t) and Argenis Fernandez(b/t) did this amazing thing. They organized a campaign and raised over $13,000 for...
2015-07-22
691 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern standards. How do we put a legacy SQL Server...
2015-07-22
9 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-22
40 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-22
36 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern standards. How do we put a legacy SQL Server...
2015-07-22
8 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-22
36 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-22
42 reads
Originally appearing in my monthly column at Database Trends & Applications magazine. In my last column, available HERE, I described some of the findings contained in an intriguing new...
2015-07-22
22 reads
Extended Events continue to grow and improve - even with the removal of a few events.
Related Posts:
Upgrading From SQL Server Profiler December 26, 2018
Correlate SQL Trace and Actions...
2015-07-22
10 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