An Overview of SQL Server AlwaysOn
One of the changes coming in SQL Server v11 (not sure what the name will actually be), also known as...
2011-03-08
922 reads
One of the changes coming in SQL Server v11 (not sure what the name will actually be), also known as...
2011-03-08
922 reads
Not everyone uses IE and that’s ok, but what’s strange is that by default if you point Firefox at a...
2011-03-08
865 reads
Tonight is the March OPASS meeting. You should come on out, it’s always a great time. Note our new location and be sure to RSVP so we can have...
2011-03-08
11 reads
I’ll be speaking at the upcoming Orlando Code Camp on March 26, 2011, at Seminole State College in Lake Mary....
2011-03-08
1,224 reads
Karla Landrum just announced SQLSaturday #77, coming to Pensacola on June 4, 2011. Pensacola is a great weekend destination, hit...
2011-03-08
866 reads
You might be reading this hoping that I have the magic answer on how to make the Report Manager portal...
2011-03-08
688 reads
It’s that time of the month again. Time for T-SQL Tuesday! This month’s event is being hosted by Jes Schultz...
2011-03-08
695 reads
Tonight is the March OPASS meeting. You should come on out, it’s always a great time. Note our new location...
2011-03-08
816 reads
Just wanted to take the opportunity to summarize my experience at SQLSaturday#69 in Philadelphia, this past Saturday. Another city, another amazing event! I haven't been...
2011-03-08
2,377 reads
Let’s get this out of the way right now: I am SO going to take advantage of this T-SQL Tuesday...
2011-03-08
910 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