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
There have been quite a few posts in the SQL Server community recently announcing the Call for Nominations for the...
2009-08-27
476 reads
Microsoft has finally officially announced the long rumored price cuts for the XBox 360 Elite, which will go down from...
2009-08-27
650 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
Microsoft has published a good whitepaper that explains the new functionality in SQL Server 2008 R2 that will allow you...
2009-08-26
609 reads
I've got a new presentation on blogging slated for next week during the 24 hours of PASS. The event is...
2009-08-26
821 reads
The second type of corruption I want to look at is that of missing references in sys.sql_dependencies. This typically appears...
2009-08-26
449 reads
Opening DTS packages on a 2008 SQL Server requires several steps to be able to view the packages in a...
2009-08-26
1,589 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
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