SQL Lunch Presentation Today and Wednesday
A heavy week for SQL Lunch with two presentations!
There is another SQL Lunch presentation scheduled for today at 12:30 EDT. Join...
2010-07-12
579 reads
A heavy week for SQL Lunch with two presentations!
There is another SQL Lunch presentation scheduled for today at 12:30 EDT. Join...
2010-07-12
579 reads
I don't think I'm alone when I find myself having to convert several columns in my Data Flow from Unicode...
2010-07-12
1,018 reads
As a child did you have a place that was your ‘thing’, something that just the mention of it would...
2010-07-12
513 reads
I read a blog recently that was titled: Time to Stop Settling. I think that the author (a friend) was...
2010-07-12
384 reads
Degree Seeker Week at SQL University, Extra Credit
Welcome back to Degree Seeker Week at SQL University. If you have returned...
2010-07-12
1,757 reads
Up early, the only one in the house, so I made coffee, sat down to check on SSC and the...
2010-07-11
349 reads
One of the supposed advantages of the EF is that it abstracts you from
your database implementation. This is considered to...
2010-07-11
1,330 reads
If you’re working with PowerShell and SQL Server one of things you’ll want to to do is load the SQL...
2010-07-10
3,270 reads
At the July 8th Tampa PowerShell User Group meeting, Ed Wilson (blog|twitter) gave a presentation on “PowerShell Best Practices.” One...
2010-07-10
661 reads
It’s a Friday, the day governments & companies traditionally deliver bad news. I recived the bad news earlier in the week,...
2010-07-09
722 reads
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...
By Steve Jones
Software is hard. While I love our Lucid Gravity, I realize that they are...
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