DBA best practices..from the DBA from Heaven
I met Tom Roush for the first time around 9 years ago – at a PASS Summit. If I recall right...
2018-02-01
698 reads
I met Tom Roush for the first time around 9 years ago – at a PASS Summit. If I recall right...
2018-02-01
698 reads
If like me you thought “Hey, it’s a new feature, I can finally create reports in powerbi.com service and then...
2018-02-01
973 reads
Stress everywhere, user wants everything "Para ayer"Photo by Bernard Goldbach
If you are like me, and have SQL Server instances with...
2018-02-01
601 reads
Intro
I’ve written a couple of article about IF & SWITCH in DAX over the past few years. Recently I noticed that...
2018-01-31
150 reads
SSMS provides an Activity Monitor, a process that displays various information about what all is going on with the instance....
2018-01-31
799 reads
I work for Redgate and write about products. I’ve got a series of SQL Prompt posts here on little things...
2018-01-31
1,577 reads
Victoria is on an island off the coast of Vancouver, British Columbia. The island is wisely called Vancouver Island. It...
2018-01-31
526 reads
I am so excited to announce that I have been accepted as a speaking mentor on SpeakingMentors.com!
I struggled for so...
2018-01-31
495 reads
Close but you need to blog about learning while blogging about the difference of blogging when you are learning something...
2018-01-31
515 reads
Here is a quick blog to show you something I discovered that I didn’t know existed.
I was on a Skype...
2018-01-31
392 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