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
image source
The holidays are upon us and it’s the first Monday in December. That means it’s time once again to...
2013-12-02
475 reads
A quick check of my calendar this morning reminded me that I am presenting a session for the PASS Performance...
2013-12-02
841 reads
Well the short answer is that they just don’t have enough information to give a definitive answer. You will notice...
2013-12-02
651 reads
A wonderful gentleman who attended my SQL PASS Summit session this year recently emailed me and asked me a great...
2013-12-10 (first published: 2013-12-02)
2,158 reads
Digging Around In BitBucket BitBucket was very thin when it comes to SQL Server. I did find a couple of interesting projects that may appeal to others as well...
2013-12-02
30 reads
Digging Around In BitBucket
BitBucket was very thin when it comes to SQL Server. I did find a couple of interesting...
2013-12-02
934 reads
The Christmas countdown has begun for a number of us. This doesn’t mean it’s time to relax, there’s still plenty...
2013-12-02
610 reads
Alright, I’ve got your attention. You’re probably thinking “who is this crazy guy that is using the word Love with...
2013-12-02
559 reads
For those who will be at SQL Saturday #233 in Washington, DC, I’ll be giving my professional development talk, Being...
2013-12-02
313 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