TGI SQL Friday - Weekly Roundup Friday 19th August 2016
Its been a lovely week here in the UK as we approach the end of August. Sun has been out,...
2016-08-19
429 reads
Its been a lovely week here in the UK as we approach the end of August. Sun has been out,...
2016-08-19
429 reads
This weeks great value IT training deals are in. This being SQL Server blog I would like to draw your...
2016-08-17
399 reads
It is that time of year when the Scandinavia holds its SQL Saturday events and once gain I have been...
2016-08-16
325 reads
This is an interesting question. Lets look at couple of definitions starting with Wikipedia’s definition
“Enterprise architecture (EA) is "a well-defined...
2016-08-15
508 reads
This week has seen the launch of my new SQL Server newsletter in conjunction with Learning Tree. If you would...
2016-08-12
363 reads
As many of you know I have been delivering Learning Tree training courses since way back in 2010. Combing training...
2016-08-10
436 reads
It’s that time of the week when the Great Value IT training page gets its weekly update and this week...
2016-08-09
393 reads
My post the top 3 books for becoming TOGAF certified punlished last week looked at books on preparing for the...
2016-08-08
442 reads
Its that time of the week when get the latest Learning Tree courses that have been available for £750 plus...
2016-08-03
345 reads
I often get asked what books are useful for preparing for the TOGAF certification exam. The resources are generally from...
2016-08-01
983 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