Virtual Lab – New Domain User
This is part of my series on building a virtual lab for use with SQL Server and Windows. You can...
2014-03-20
1,084 reads
This is part of my series on building a virtual lab for use with SQL Server and Windows. You can...
2014-03-20
1,084 reads
This may not be the exact model, but I bought 2 First Alert detectors at Costco for $23. Not a...
2014-03-19
674 reads
I had a recent run in with collation problems and it got me started reading. As I read I started...
2014-03-19
2,255 reads
SQL Server Maintenance Solution
I'll start off with Ola Hallengren's scripts. I'm not a fan of reinventing the wheel. If someone...
2014-03-19 (first published: 2014-03-17)
4,595 reads
It really is so much easier to just throw hardware at badly performing databases. Just buy a bigger, faster server...
2014-03-19
1,190 reads
I’ve been thinking for a while about what to submit for this year. I knew I wanted to have one...
2014-03-19
637 reads
I won’t be able to make it to the PASS Summit this year but I still consider myself part of...
2014-03-19
683 reads
About a year ago, fellow blogger Thomas LaRock recommended the book The Phoenix Project, claiming that “every business leader and...
2014-03-19 (first published: 2014-03-10)
2,134 reads
That’s just one of about a hundred great lines from episode 1 of Farmed and Dangerous. A company with the...
2014-03-19
611 reads
You may have seen these minuteKey boxes at your local home supply store (Lowes has it near me) that let...
2014-03-18
735 reads
By James Serra
Making Data AI-Ready, Part 3 (This is the final article in a three-part series...
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...
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