Thinking with Data by Max Shron
DISCLAIMER
I recently enrolled myself in the O’Reilly Blogger Review program, which basically allows me to get one O’Reilly eBook for...
2014-02-27
1,197 reads
DISCLAIMER
I recently enrolled myself in the O’Reilly Blogger Review program, which basically allows me to get one O’Reilly eBook for...
2014-02-27
1,197 reads
I’d be struggling to remember a week where I hadn’t run a query against the dmv sys.dm_db_index_usage_stats to find unused...
2014-03-10 (first published: 2014-02-27)
3,246 reads
If you haven’t noticed lately, Power Map has gone into General Availability as of 25 of February 2014. It comes...
2014-03-06 (first published: 2014-02-26)
2,741 reads
SQL Meetings are training events for SQL Server professionals and those wanting to learn about SQL Server. Please note that...
2014-02-26
1,088 reads
Great crowd last night and a great job by organizers Glenda Gable and Jill Joubert for the very first meeting...
2014-02-26
1,012 reads
I read a lot of blogs using BlogTrottr as my inbox delivery mechanism, but it has been quite a while since I’ve...
2014-02-26
656 reads
I am terribly jazzed to be involved with this amazing event, SQL Intersection. It’s featuring some truly amazing speakers presenting...
2014-03-04 (first published: 2014-02-26)
1,634 reads
Warnings up front, this has some serious security implications. The method I’m going to use minimizes that somewhat but it’s...
2014-03-07 (first published: 2014-02-26)
2,645 reads
This script displays the last date and time of each backup type for each database.
It’s useful when you need to...
2014-02-26
511 reads
When I right click on the database diagrams folder in SSMS to create new diagram. Following popup window open with error.
Solutions:
From the Message you can clearly see that the...
2014-02-25
64 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