How Many Good Hours Do Employees Work?
You might call me a bean counter, but it's a fact that every manager needs to manage the distractions that...
2007-09-11
523 reads
You might call me a bean counter, but it's a fact that every manager needs to manage the distractions that...
2007-09-11
523 reads
Makes me yearn for a faster connection, about a 2300 mb download to get all the various pieces and if...
2007-09-10
1,258 reads
For those who might not have browsed previous posts I'm heading up a free one day training event called SQLSaturday...
2007-09-10
548 reads
I wrote this up based on some questions in our recent BI class where we spend almost a full day...
2007-09-06
533 reads
You might have visited these already, but it's interesting to see MS diversify a bit from the standard MSDN template....
2007-09-06
966 reads
Reporting Services makes building rich reports easy, including images and fancy layouts, with a nice wizard. But adding in background images is a little more complex and Andy Warren brings us a quick tutorial for SQL Server 2005's Reporting Services
2007-09-04
12,675 reads
It's taken a while to get here, but we're finally accepting registrations for the event. This link will take you...
2007-08-31
1,342 reads
Steve posted an interesting editorial on blogs at http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=263&messageid=393904 and the follow up discussion was pretty interesting. Read that if...
2007-08-30
1,529 reads
I previously blogged about using newid() to get random ordering and after chatting with Steve about it, decided to write...
2007-08-30
1,352 reads
I attended for the morning and Brian attended in the afternoon and did a session as well. It was interesting...
2007-08-27
1,333 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