Quickly Add Telnet
Have you found yourself on a server or workstation that doesn't have telnet (typical in new builds and new Azure...
2014-11-17
1,323 reads
Have you found yourself on a server or workstation that doesn't have telnet (typical in new builds and new Azure...
2014-11-17
1,323 reads
Awesome crowd this morning for my SQL Admin Best Practices with DMV's presentation at Houston TechFest 2014, thanks very much...
2014-09-13
572 reads
Recent versions of SQL Server Management Studio have unmapped Control+R as the toggle for the Results window in a typical...
2014-09-03
1,874 reads
Microsoft SQL Server is a mature and broad technology platform that supports a diverse set of careers - this blog post...
2014-09-02
1,512 reads
I've been going back and forth with this question for a few days now.
If one instance in a multiserver query presents an...
2014-09-01 (first published: 2014-08-26)
6,263 reads
Thanks for attending my session today SQL Server Admin Best Practices with DMVs at 8AM!
Here's the link to a .zip file...
2014-08-21
578 reads
Thanks for attending my session today, SQL Server Permissions and Security Principals at 9:15AM!
Here's the link to a .zip file to...
2014-08-21
549 reads
I'm looking forward to geauxing with a handful of Sparkhound colleagues and friends to speak at SQL Saturday Birmingham on...
2014-08-19
545 reads
(This is the first part of a two-part post on a SQLSaturday Baton Rouge 2014 recap.)
Been quiet on this blog...
2014-08-10
749 reads
(This is the second part of a two-part post on a SQLSaturday Baton Rouge 2014 recap.)
Out of a total of...
2014-08-10
572 reads
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...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
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