SQL Server 2016 RC0–Management Studio install option has disappeared
If you are trying to install SQL Server 2016 RC0 – which I’m sure you are all doing looking at the...
2016-03-16
729 reads
If you are trying to install SQL Server 2016 RC0 – which I’m sure you are all doing looking at the...
2016-03-16
729 reads
The following is a short guide for promoting a Windows Server 2012 Machine to be a domain controller. This assumes...
2016-03-15
555 reads
When I started working with SQL Server many years ago, SQL Server on Linux was a regular April fool’s day...
2016-03-08
521 reads
Just a short post for a Tuesday to let you that I will delivering Learning Tree’s 534 Developing SQL Queries...
2016-02-09
479 reads
There has been much talk recently in the SQL Server community about writing introductory level blog posts. Posts that a...
2016-02-08
889 reads
Its been a busy start to the year at gethynellis.com. I have been involved in a Big Data training courses...
2016-02-05
495 reads
New Year, new powerful SQL queries!
Start the New Year off with some great Transact-SQL training and join me for...
2015-12-07
455 reads
There has been some really useful blogs and articles posted over the last week or so, this is my top...
2015-09-22
532 reads
As this blog post is being published David will be delivering his “Putting his Head in the Cloud – Working with...
2015-09-19
559 reads
David Postlethwaite will be giving his SQL Azure “Putting your head in the clouds – Working with SQL Azure” at SQL...
2015-09-07
549 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