2017-12-13
324 reads
2017-12-13
324 reads
The obesity epidemic is much in the news these days. The list of health issues related to being overweight is...
2017-12-27 (first published: 2017-12-13)
1,773 reads
Yesterday I wrote about best practices, illustrating that what may be an assumed technical design standard doesn’t fit every scenario....
2017-12-13
403 reads
I’ve been taking a bit of a deep dive into understanding Transparent Data Encryption (TDE). As part of that I’ve...
2017-12-28 (first published: 2017-12-12)
3,211 reads
In this module you will learn how to use the Social Network Graph Custom Visual. The Social Network Graph allows...
2018-01-02 (first published: 2017-12-12)
1,956 reads
With 2018 coming, I’ve thought about the question, “What do I want to be when I grow up?” I ask...
2018-01-01 (first published: 2017-12-12)
1,428 reads
A great topic for T-SQL Tuesday this time from @sqlmal. It’s Setting Learning Goals for 2018, and it’s a topic...
2017-12-12
485 reads
I could not read my error log on one of my local SQL Servers, when I executed the following code:
EXEC...
2017-12-12
827 reads
T-SQL Tuesday. Each month a different blogger hosts Adam Machanic’s (b/t) blog party. The host comes up with a topic...
2018-01-01 (first published: 2017-12-12)
1,699 reads
Most everyone is familiar with the term best practices. This phrase describes an industry-specific design or methodology that can be...
2017-12-12
391 reads
By Steve Jones
I use ConEmu for my terminal interface. I’m still on Windows 10 at home,...
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...
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