SQLSaturday Dallas Precons Community Choice
The North Texas SQL Server User Group Board of Directors has decided to do something a little bit different for...
2015-07-30
1,082 reads
The North Texas SQL Server User Group Board of Directors has decided to do something a little bit different for...
2015-07-30
1,082 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-29 (first published: 2015-07-22)
1,789 reads
Originally appearing in my monthly column at Database Trends & Applications magazine. In the first of this three-part series, I described some of the findings contained in an intriguing...
2015-07-29
25 reads
Alternate Title: I’m traveling a bunch. Let’s get together and talk.
A bunch of trips and presentations coming up, so I...
2015-07-29
981 reads
I guess in the age of rapid development and releases the fact of General Availability of the Power BI v...
2015-07-29
1,071 reads
I love keyboard shortcuts. I recently mapped a keyboard shortcut to Change Connection and thought I would share some of...
2015-07-29
1,279 reads
Education. The key topics for everyone.
In his incredibly famous TED Talk “Do Schools Kill Creativity“, which might be some of...
2015-07-28
488 reads
As I mentioned in my original post, Exploring Excel 2013 as Microsoft’s BI Client, I will be posting tips regularly...
2015-07-28 (first published: 2015-07-21)
2,516 reads
When importing data from a flat file using Power Query, you’d want to combine multiple files and include file name...
2015-07-28 (first published: 2015-07-21)
27,472 reads
I wrote recently about my philosophy for service accounts, and wanted to add a few more thoughts.
Security is important for...
2015-07-28
1,518 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