Tour de Career: Team Roles
In cycling each team is made up of nine riders. Each rider on a team can have a different specialization....
2010-07-26
670 reads
In cycling each team is made up of nine riders. Each rider on a team can have a different specialization....
2010-07-26
670 reads
Chapter 3 of the Defensive Database Programming Book by Alex Kuznetsov teaches us about how to “survive” changes to database...
2010-07-26
1,672 reads
Maybe I need a better name for it, but I’m describing the pain that happens when you’re getting ready for...
2010-07-26
594 reads
I’ve been looking for a new “thin and light” laptop to use for teaching, and for presentations and demonstrations at...
2010-07-26
824 reads
I am honored to be a guest lecturer this week for SQL University. There have been some amazing professors helping...
2010-07-26
8,189 reads
OK, we've seen step-by-step lists and articles on how to INSTALL a SQL Server 2008 Cluster, but have you run...
2010-07-25
23,296 reads
This past weekend I had the opportunity to hangout with some of the brightest upcoming SQL Server Professionals and a...
2010-07-25
614 reads
Some exciting times coming up here in the South Florida SQL Server Community. SQL Saturday South Florida is rapidly approaching....
2010-07-24
451 reads
Not much ado about SQL Server here. Good things come with the number 9. For instance SQL Server got substantially...
2010-07-23
524 reads
Not too many moons ago I embarked on porting some servers over from SQL 2000 to SQL 2008. On some...
2010-07-23
1,580 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