Junior DBAs - Where to start?
I personally would start with your local user groups. Getting to know people and networking may be your best bet...
2013-12-06
433 reads
I personally would start with your local user groups. Getting to know people and networking may be your best bet...
2013-12-06
433 reads
Sometimes activity monitor just isn't fast enough. Maybe it's not telling you what a specific query is doing. Below is...
2013-12-05
473 reads
Contest Winner!
So last Monday I announced a giveaway that I think is a great gift to give away. Every Monday...
2013-12-04
590 reads
What sort of testing lab do you setup when you're testing things out? I hear see the world adventureworks almost...
2013-12-13 (first published: 2013-12-03)
1,268 reads
I have a Free 1-Month code to PluralSight. There's no catch or gimmick, If your comment is in this post,...
2013-12-02
495 reads
There are a number of good sites that offer free training and free E-Books. The community around MS SQL is...
2013-11-29
1,194 reads
Update: Thanks for your response Jon Gurgul! I have updated the files to reflect your updates. It's faster and cleaner...
2013-12-06 (first published: 2013-11-28)
3,492 reads
As I keep looking for answers on Fill Factor... I keep finding interesting Metrics to look into. Looking my own...
2013-11-27
2,580 reads
I don't have much today... It's been a good week so far. I think I'm becoming a bit obsessed with...
2013-11-26
636 reads
Quick script just to give you an idea of how your databases are being used. Mainly useful for exploring.
select db.name...
2013-11-25
8,906 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