SQL Saturday #21 – Session Submitted
I just submitted my session for SQL Saturday #21 in Sunny Orlando Florida. I have been working on a presentation...
2009-08-27
662 reads
I just submitted my session for SQL Saturday #21 in Sunny Orlando Florida. I have been working on a presentation...
2009-08-27
662 reads
Thought I’d share some of the event for those you not in the Orlando area. As of today we have...
2009-08-27
523 reads
Hi to everyone! I decide to write it in my blog here about this problem because really don't have any...
2009-08-27
1,305 reads
I attended a presentation recently from Steven Wright of SQL Sentry on Analysis Services (SSAS) memory management and it was...
2009-08-27
3,826 reads
I enjoy woodworking as a hobby and as I try new things I find that my work habits during the...
2009-08-26
1,579 reads
What’s going on here?
When trying to open Default Trace files on Windows 7 and SQL Server 2008 I got the...
2009-08-26
1,211 reads
According to Gizmodo, Intel is due to launch the next generation Centrino mobile platform, known as Calpella at the end...
2009-08-26
602 reads
If you haven’t heard yet, PASS has started commissioning articles to be published in the new PDF version of the...
2009-08-26
710 reads
About two years ago I started www.TSQLScripts.com, and initially the response was great. Within two weeks I had received about...
2009-08-26
618 reads
The call for nominations for the PASS Board of Directors is open until Sep 3rd and I want to reiterate...
2009-08-26
1,296 reads
By Steve Jones
I use ConEmu for my terminal interface. I’m still on Windows 10 at home,...
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...
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