Do You Solution?
Do you ever find yourself working on different scripts at once? Maybe you are working on something that tests certain...
2011-03-29
925 reads
Do you ever find yourself working on different scripts at once? Maybe you are working on something that tests certain...
2011-03-29
925 reads
Yesterday, I went in for my re-take of the MCM written exam. If you recall, I failed the exam last...
2011-03-29
576 reads
We’ve seen a few summaries come through by now, so I’m going to throw mine into the mix. To recap...
2011-03-29
681 reads
This topic actually came up at SQL Saturday #70 - Columbia, SC. I spent the first 15 years of my life...
2011-03-29
2,167 reads
This is the most important and essential first step for a DBA on the journey to providing outstanding customer service....
2011-03-28
859 reads
The below information has been taken from SSWUG.org.
Oracle Drops the Bomb
Since the purchase of Sun and it’s holdings by Oracle...
2011-03-28
830 reads
We do a lot of things. It’s difficult to explain all the things we do to people. So I made...
2011-03-28
614 reads
Just… Wow. What an event. What a great group of people. I’m just so lucky to be involved with fantastic...
2011-03-28
923 reads
Brian Kelley, speaking on the SQLServerCentral track.
A bit of a crazy day for me, starting off a crazy week. I...
2011-03-28
751 reads
I just ran into something that I hadn’t noticed in SQL Server. It struck me as somewhat interesting but is really not too big of a deal. While demonstrating...
2011-03-28
26 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