SQL Server Disaster Recovery
I was reading a blog post by Steve Jones on Monday and I started to write a comment on his...
2012-12-11
1,105 reads
I was reading a blog post by Steve Jones on Monday and I started to write a comment on his...
2012-12-11
1,105 reads
Last week I was delivering a SQL Server Training course for learning tree. The course was 2109 SQL Server Virtualization...
2012-12-10
1,054 reads
I’m going to continue with my series of posts on analysing how well my SQL Server Consulting blog has done...
2012-12-09
807 reads
Unbelievably it is December already and 2013 is fast approaching. With the Christmas break fast approaching now is the time...
2012-12-03
1,089 reads
This post is little experiment I’m trying out this weekend. The SQL Server Consulting blog has been up and running...
2012-12-01
889 reads
As regular readers of my blog will now as part of role as a SQL Server consultant and SQL Server...
2012-11-29
2,128 reads
Back in the old days before this blog when I was publishing a website instead that has long been consigned...
2012-11-22
891 reads
This weeks blog posts have been focusing on books that I have read, like and recommend for learning SQL Server...
2012-11-21
967 reads
Carrying on with book week and answering the question I’m often asked about what books I;d recommend to learn about...
2012-11-20
950 reads
I’m often asked about what books I would recommend for learning more about SQL Server 2008 and I always respond...
2012-11-19
1,038 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