SQLSaturday #9 in Greenville, SC on Oct 11, 2008
Paul Waters and team from the SQL Server Innovators Guild have decided to host a SQLSaturday at ECPI Greenville, SC...
2008-08-18
466 reads
Paul Waters and team from the SQL Server Innovators Guild have decided to host a SQLSaturday at ECPI Greenville, SC...
2008-08-18
466 reads
Part of running a businness is deciding when and where to spend your hard earned cash. It's interesting to look...
2008-08-14
537 reads
Recently I needed to make a call and the only number I had was a mnemonic one. I get why...
2008-08-13
1,906 reads
SQL Server trainer and expert DBA, Andy Warren, thinks that everyone should have a philosophy about security. He starts this installment in looking about how to assign administrative privileges.
2008-08-12
4,583 reads
With all the options we have for viewing query plans I still prefer the graphical view. Combined with tooltips and...
2008-08-12
528 reads
My friend Jonas Stawski just sent me a note about the upcoming Code Camp in Argentina on October 24, 2008....
2008-08-11
608 reads
I've just posted minutes of the August 2008 user group meeting. We had two great presentations, a short one from...
2008-08-10
696 reads
I think most people fall into two groups, the ones that change jobs every year/every time they can make another...
2008-08-07
576 reads
More and more I see business people adopt the mindset that any negotiation is raw combat with the goal of...
2008-08-05
614 reads
One of the common questions new SQL Server workers ask is how they can move or alter tempdb. Andy Warren takes a look at the tricks involved with this special system database.
2008-08-04
6,400 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