Upgrading to SQL Server 2012?
Do you have any plans in place to upgrade to SQL Sever 2012 this year. We are now well into...
2013-03-06
1,058 reads
Do you have any plans in place to upgrade to SQL Sever 2012 this year. We are now well into...
2013-03-06
1,058 reads
Having just completed the latest revision of Learning Tree's SQL Server Virtualisation and consolidation course I thought I'd share with...
2013-03-04
677 reads
LinkedIn sent me an email on Monday that said my profile was in the top 5% of viewed profiles in...
2013-02-12
874 reads
I had a great response to my blog post and poll last week about how DBAs use auto grow. In...
2013-01-16
1,038 reads
The first full week in 2013 has been a a busy week for me with lots of SQL Server consulting...
2013-01-12
1,006 reads
#SQLSaturday194 is coming to Exeter on the 8th – 9th March.
What is SQL Saturday? The brain child of Steve Jones,...
2013-01-11
764 reads
David Postlethwaite who contributes to this blog regularly sent me an email this morning asking about Database Auto grow.
This...
2013-01-10 (first published: 2013-01-07)
2,010 reads
Come and join me in London this March for a 3 day course on SQL Server virtualisation and consolidation.The course...
2013-01-10
1,033 reads
I have been doing some work on some LinkedIn groups that I manage and look after over the holidays. There...
2013-01-04
867 reads
I have read much about SQL Saturday’s but I have yet to attend one, that is about to change. I...
2013-01-03
834 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