Using PowerShell To Search The Event Log
The “30-minute DBA” was operating in a highly effective mode. He’d automated most everything that could be automated. The first...
2011-02-07
2,711 reads
The “30-minute DBA” was operating in a highly effective mode. He’d automated most everything that could be automated. The first...
2011-02-07
2,711 reads
I saw an article in American Woodworker by Alan Lacer about making wooden doorstops and decided to try one. You...
2011-02-07
523 reads
I wanted to announce that you can now pre-order your copy of my latest book to be released called SharePoint...
2011-02-07
954 reads
This isn’t exactly the best thing since bread (or even sliced bread for that matter), but I figured I’d share...
2011-02-07
1,347 reads
I had the privilege of attending and speaking at SQLSaturday #62 – Tampa the weekend of January 15th and this is...
2011-02-07
921 reads
Happy Monday! I'm sure many of you may have already caught on, that Waits & Queues is the way to go...
2011-02-07
720 reads
Welcome to this semester's security week at SQL University. In previous semesters we've covered the technical aspects of SQL Server...
2011-02-07
3,337 reads
I’m not gonna lie to you, Marge…I haven’t exactly been keeping up with the RTFM365. And when I have read,...
2011-02-07
611 reads
Advertisements
T-SQL Tuesday #015: Automation:
I am very much interested to participate in the T-SQL Tuesday event party. I have seen the...
2011-02-06
1,003 reads
AdvertisementsHow to setup the DB mail using Gmail account
In this article I am going to show the database mail setup...
2011-02-05
767 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