2012-02-17
12 reads
2012-02-17
12 reads
2012-02-17
11 reads
2012-02-17
31 reads
Join SQL Server experts as they take an in-depth look at the hottest SQL Server topics over 24 consecutive (and...
2012-02-17
731 reads
It’s the afternoon of the 16th, and time to write my #meme15 post. Remember, these are due on or around...
2012-02-16
615 reads
Did you know that you don’t need to go to Digicert or Thawte, or any other company to get a...
2012-02-16
1,293 reads
I built a small ruby program a while back to help with two things:
Quickly identify what tables have the highest IO in a particular query
Learn a new language (Ruby)
The...
2012-02-16
13 reads
I built a small ruby program a while back to help with two things:
1. Quickly identify what tables have the highest IO in a particular
...
2012-02-16
16 reads
I built a small ruby program a while back to help with two things:
Quickly identify what tables have the highest...
2012-02-16
573 reads
This past Tuesday, February 14, I was invited to discuss how technology can be used to help analyze data for...
2012-02-16
607 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