Accidently Kicking a Database into the Restoring State
I learn new things all the time. This was one that actually stunned me. Huge props to Gail Shaw for...
2013-12-11 (first published: 2013-12-02)
2,375 reads
I learn new things all the time. This was one that actually stunned me. Huge props to Gail Shaw for...
2013-12-11 (first published: 2013-12-02)
2,375 reads
Database snapshot is really a useful feature. As we know, Snapshot database file will keep increasing parallel to the DML...
2013-12-11
1,097 reads
This past weekend I had the opportunity to go visit Washington DC. It was the first time I got to stay in the Nation’s capitol for more than just...
2013-12-11
11 reads
This past weekend I had the opportunity to go visit Washington DC. It was the first time I got to...
2013-12-11
833 reads
For those that attended the webcast I did last week for Idera the companion whitepaper is now available for download....
2013-12-11
837 reads
Today I ran through the first tutorial at Code.org. It has 20 very short lessons that use Angry Birds and...
2013-12-11
632 reads
I’m absolutely in love with the concept of being able to create a backup directly to a protected, off-site location....
2013-12-11
1,723 reads
The other morning I was commenting during our regular meetings amongst fellow DBAs on where to read up on installation...
2013-12-11
5,311 reads
That’s right, it’s time to take this blog up a notch! Last week I posted a video about using Hyper-V...
2013-12-11
614 reads
Just in time for Christmas the Microsoft product teams responsible for Power BI have a slew of amazing updates. The...
2013-12-11
922 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