Microsoft SQL Server 2008 Books Online (July 2009)
Microsoft has released the July 2009 standalone version of Books Online (BOL) for SQL Server 2008, which you can get...
2009-08-26
680 reads
Microsoft has released the July 2009 standalone version of Books Online (BOL) for SQL Server 2008, which you can get...
2009-08-26
680 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
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
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
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
A few simple tips that I've learned over the years. Keep these in mind as you write your next article.
That...
2009-08-26
1,039 reads
My co-worker and fellow DBA, Leigh Freijo has a blog entry about a Powershell script he created to re-integrate QA/Development database changes...
2009-08-25
1,110 reads
Database Mirroring w/o a Domain, Can be a Pain - but it can be done......
Have you ever had to setup mirroring...
2009-08-25
6,541 reads
If you’ve worked with Microsoft SQL Server for any length of time, you’re probably already aware that SQL Server uses...
2009-08-25
692 reads
I’ve been reading his blog for a while and getting consistently good value. I’d categorize it as a SQL blog...
2009-08-25
723 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