PASS Sessions Submitted
Hey guys, I’m preparing a few new article series for you but in the meantime I wanted to let you...
2010-07-09
322 reads
Hey guys, I’m preparing a few new article series for you but in the meantime I wanted to let you...
2010-07-09
322 reads
Whew, I just got my last chapter submitted to the editorial team for our newest book. I still have to...
2010-07-09
347 reads
Hey folks. I have yet to explore the world of Wolfram Alpha and still don’t claim to be an expert...
2010-07-09
393 reads
I get to work with a lot of different clients and client environments and like many companies they are often...
2010-07-09
316 reads
Degree Seeker Week at SQL University, Lesson 3
Welcome back eager learners to Degree Seeker Week at SQL University. I’m your...
2010-07-08
2,742 reads
I thought I would try to do a few quick tests to compare the performance of assigning values and comparing...
2010-07-08
1,363 reads
Come See Me at the SQL PASS Summit
Notifications went out today for the SQL PASS Summit (Nov. 8 - 11, 2010)...
2010-07-08
923 reads
First, I wanted to post a reminder that the July SCSUG meeting has been moved to this coming Monday, July...
2010-07-08
617 reads
One of the things I have to do every month is process payments for the authors. It’s my job to...
2010-07-08
330 reads
For those of us who love to get our hands on the latest and greatest shiny new things, the wait...
2010-07-08
372 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