Review: Idera SQL Doctor
Recently, a co-worker practically slammed me up against the wall, exclaiming “You have to check out this new tool, right...
2010-12-06
2,606 reads
Recently, a co-worker practically slammed me up against the wall, exclaiming “You have to check out this new tool, right...
2010-12-06
2,606 reads
I had my laptop connected to a projector recently, and for some reason a few windows got moved off screen,...
2010-12-06
571 reads
We are now well into December and Christmas is fast approaching, I have most, but not all of my shopping...
2010-12-06
523 reads
I’m about to go down one laptop, which is good. I have had too many for some time. Right now...
2010-12-06
402 reads
After seeing several cases in the past couple of months where I felt the basics of troubleshooting were violated, I...
2010-12-06
2,227 reads
I’m currently doing some experiments with ,y blog and trying out digg.com. In order to do that I need to...
2010-12-05
529 reads
I know, We cant cover life span of query in short. here is my another try to list some high level information...
2010-12-05
5,457 reads
I first heard of PASS (Professional Association for SQL Server) in connection with the PASS Summit. I had a several...
2010-12-04
365 reads
In the final installment of the Getting Drive Info series (Part 1, Part 2, Part 3, Part 4), SSIS will again be used to collect and save the drive...
2010-12-04
26 reads
In the final installment of the Getting Drive Info series (Part 1, Part 2, Part 3, Part 4), SSIS will...
2010-12-04
1,910 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