Notes from SQLSaturday #21 – Part 1
I started the logistics preparations last Sun (8 days ago), finalizing the print version of the schedule, the eval cards,...
2009-10-19
740 reads
I started the logistics preparations last Sun (8 days ago), finalizing the print version of the schedule, the eval cards,...
2009-10-19
740 reads
A one topic post this time. As a candidate for Vice President of Marketing for PASS this year I asked...
2009-10-18
628 reads
Thought I’d share a funny story. Way back before SQLSaturday #1 my friend Shawn recommended a local shirt/embroidery vendor, I...
2009-10-16
497 reads
The Deceived by Brett Battles
I haven’t post on any fiction lately, thought it was time to write about something more...
2009-10-15
353 reads
Patrick Leblanc has started a new project called…SQL Lunch! The concept is to present a 30 minute topic every two...
2009-10-15
887 reads
I’m writing this in advance because I’ll be busy with all the last minute preparations, but I’m looking forward to...
2009-10-15
290 reads
Not very often I run across something with zero matches in a search engine, but had it happen recently. I had set up a simple demo of a sparse column set and happened to look at the execution plan, was interested to see that the Compute Scalar was backed by ConvertSVtoXML. This was on a select from a table with one row, and then, being a little more curious, updated it with an xml fragment I saw a call to ConvertXMLtoResv. I’d venture that those serve to convert back/forth from XML storage.
2009-10-15
1,219 reads
Among the things I’m experimenting with this quarter is changing my book reviews to include an affiliate link to Amazon....
2009-10-14
317 reads
You should get an email if you’re eligible to vote with a subject line beginning with ‘Vote for the 2010/2011...
2009-10-14
291 reads
One of the things on my todo list for this past week was to upgrade a SQL 2005 Standard Instance...
2009-10-13
750 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