Tampa IT Camp 2011 Lessons Learned Part 1
On Saturday, March 19th 2011 we held the first ever Saturday “code camp” style event for the IT Pro (Sys...
2011-03-30
1,745 reads
On Saturday, March 19th 2011 we held the first ever Saturday “code camp” style event for the IT Pro (Sys...
2011-03-30
1,745 reads
For the 4th year SQL Saturday comes to Jacksonville, FL this year on April 30, 2011. Many of you already...
2011-03-30
1,515 reads
One of the most undervalued skills that an individual can possess is the ability to listen. Are you really hearing...
2011-03-29
1,643 reads
I was very interested to hear Jonathan Kehayias’ session on extended events. I know this is one of the areas...
2011-03-29
1,911 reads
I have known Brian for nearly as long as i have been running SQLServerCentral. He has been the guy that...
2011-03-29
1,709 reads
2011-03-29
1,576 reads
The first session of the day for me was Brent Ozars Blitz talk on how to quickly get information on...
2011-03-29
1,890 reads
Locking should be simple, right? You need to access a row or table and you get a lock. Oh yeah,...
2011-03-29
698 reads
I am excited that I get to speak at SQL Saturday #68 on April 9. If you live close to...
2011-03-29
574 reads
Do you ever find yourself working on different scripts at once? Maybe you are working on something that tests certain functionality in SQL Server, you have some presentation scripts...
2011-03-29
12 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...
IMAP to Office 365 migration is an important step for organizations that want to...
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...
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