Having OCD in Azure…
Everyone gives OCD a hard time. When in fact it is something to embrace.
I am of course talking about Operational...
2017-03-22
266 reads
Everyone gives OCD a hard time. When in fact it is something to embrace.
I am of course talking about Operational...
2017-03-22
266 reads
This is the eighth part in the series: SQL Server and Continuous Integration. This post describes the set-up required for GitLab runners to...
2017-04-07 (first published: 2017-03-22)
8,484 reads
It’s quite easy to hit the PrintScreen key and capture the whole screen. But how do we quickly capture a...
2017-04-07 (first published: 2017-03-22)
2,443 reads
With the release of SQL Server vNext CTP 1.4 SQL Agent was released for use on Linux. To install it...
2017-04-06 (first published: 2017-03-22)
1,869 reads
Last week, we discussed storing text in a database. This week we will dive deeper into data types. When storing...
2017-03-22
112 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-04-06 (first published: 2017-03-22)
2,751 reads
I was recently reading this msdn article on Ghost Records, and it mentioned that you could get the number of...
2017-04-04 (first published: 2017-03-22)
10,238 reads
In a previous post I showed how easy it is to test your backups using Test-DbaLastBackup
Today I thought I would...
2017-04-05 (first published: 2017-03-22)
1,931 reads
I was working on a blog post this weekend that required a list of random numbers. Now, this isn’t exactly...
2017-04-05 (first published: 2017-03-22)
2,350 reads
It seems like SSMS has seen better days. Many developers I have worked with recently complain about Out of Memory...
2017-03-22
635 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