SQL Server Community Events
By David Postlethwaite
I have just come back from a successful SQL Saturday in Vienna, Austria where I had 60 people...
2017-01-26
590 reads
By David Postlethwaite
I have just come back from a successful SQL Saturday in Vienna, Austria where I had 60 people...
2017-01-26
590 reads
By David Postlethwaite
SQL Server 2016 SP1 was released in November 2016 only five months after the initial release.
There have been...
2017-01-18 (first published: 2017-01-09)
2,601 reads
The year gone was an interesting year for gethynellis.com and GRE Solutions. Any year that has a new release of...
2017-01-05
563 reads
Yesterday was the last working day before Christmas at GRE Towers. We’ve got today off. So this is just a...
2016-12-23
436 reads
Its the week before Christmas. Party season is in full swing. Its a time for reflection on the year gone...
2016-12-15
453 reads
Gethyn will be getting me to update this every week, there are some awesome training deals available for £750 + VAT....
2016-11-28
383 reads
No No, not my new hat, although it is rather splendid. I have received the weekly email from Learning Tree listing...
2016-11-21
451 reads
This weeks Learning Tree deals are in. If you want to learn about big data, Network security and with the...
2016-11-09
411 reads
Has anyone in my network or readers my blog have any experience of a database called Firebird?
If you have and...
2016-11-09
388 reads
It Trick or Treat on Monday...Two days on and I have a treat for you. Learning Tree's Great Value IT...
2016-11-02
495 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