Gardens and Scarecrows
A few weeks ago I started clearing space for a small garden. Tedious work due to the area of the...
2012-03-16
927 reads
A few weeks ago I started clearing space for a small garden. Tedious work due to the area of the...
2012-03-16
927 reads
If you create a maintenance plan (SQL 9.0.3042) to backup databases and select All databases as below;
Then at some point...
2012-03-16
903 reads
Something fun for Friday, this was a gift from the client I work with to lighten things up and do...
2012-03-16
909 reads
Howdy! I was flying last week, and for the first time i sat facing a flight attendant. You don’t actually...
2012-03-16
856 reads
I am currently working on some client servers to upgrade multiple SQL 2008 R2 Express instances to 2008 R2 Standard. ...
2012-03-16
649 reads
It’s the early morning of the 16th, and time to write my #meme15 post. Remember, these are due on or...
2012-03-16
863 reads
It's been an interesting day. It was the 1 year anniversary of SQLSandwiches today. It was also my last day working...
2012-03-16
1,091 reads
Today I’ll be continuing in a blog series designed to help you decide which presentation tool is best for your...
2012-03-21 (first published: 2012-03-16)
2,954 reads
The Merge Join is a Physical Operation when joining 2 sets of data that are in the same order.
There...
2012-03-15
5,906 reads
Columnstore Indexes for Fast DW
The SQL Server 11.0 release (2012) introduces a new data warehouse query acceleration feature based on...
2012-03-19 (first published: 2012-03-15)
4,056 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