How Stale Are My Statistics?
Unlike fine wine, you typically wouldn’t want your statistics to be aged. At least for tables that are being updated...
2010-11-05
11,863 reads
Unlike fine wine, you typically wouldn’t want your statistics to be aged. At least for tables that are being updated...
2010-11-05
11,863 reads
Brian K. McDonald
SQLBIGeek
Twitter: @briankmcdonald
Welcome to the fourth post of my “SQLBIGeek’s Function Friday” blog series. In this series, I am...
2010-11-05
590 reads
In a previous blog written back in June, I showed you how to use the interactive sort option on a...
2010-11-04
1,854 reads
Welcome to the second post of my “SQLBIGeek’s Function Friday” blog series. In this series, I am...
2010-11-03
1,111 reads
A few months ago, I installed SQL Server 2008 R2 and chose to install SSIS, SSRS and SSAS as well....
2010-11-02
1,618 reads
As your database grows in size, Analysis Services cubes that use that database grow along with it. As such, one...
2010-11-02
2,638 reads
Brian K. McDonald
SQLBIGeek
Twitter: @briankmcdonald
Welcome to the second post of my “SQLBIGeek’s Function Friday” blog series. In this series, I am...
2010-10-29
3,583 reads
As your database grows in size, Analysis Services cubes that use that database grow along with it. As such, one...
2010-10-28
3,365 reads
Brian K. McDonald
SQLBIGeek
Twitter: @briankmcdonald
Welcome to the first of my “SQLBIGeek’s Function Friday” blog series. I understand that I am posting...
2010-10-24
1,424 reads
While doing some performance testing recently and utilizing some of the DMV’s I figured, I better find out when the...
2010-10-21
2,806 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