WaitForSql (to start)
In the spirit of having apps that do just one thing I have put a really small .net app on...
2015-07-17
50 reads
In the spirit of having apps that do just one thing I have put a really small .net app on...
2015-07-17
50 reads
A while back, I wrote a blog post showing the differences (including performance) between Inline Table-Valued Functions (ITVF) and Multi-Statement...
2015-07-16
1,089 reads
Hi friends, in next few blogs we will explore another new feature named Query Store which gets introduced in SQL...
2015-07-16
716 reads
The next version of SQL Server looks to add more and more features helpful in database design and administration as...
2015-07-16
986 reads
The next OPASS meeting is July 23, 2015, featuring David Crook from Microsoft doing a presentation on predicting home value...
2015-07-16
550 reads
Paging is one of the most highly required features during application development process. Microsoft has introduced various features since the...
2015-07-16 (first published: 2015-07-13)
2,864 reads
Originally this blog post would be titled “Disabling aggregations over a parent-child hierarchy”, but I thought it could create confusion with the...
2015-07-16
1,109 reads
Posted last week, Is the Golden Age of Information Technology Almost Over? generated some interesting comments. It’s tough to write about potential...
2015-07-16
548 reads
Yes, you heard me right. SSMS 2015. No I’m not one of those crazy recruiters who keep asking for 10...
2015-07-16
994 reads
The SSIS Project Deployment Model is great! It really is the best thing since sliced bread! I specifically appreciate the...
2015-07-15 (first published: 2015-07-06)
2,809 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...
IMAP to Office 365 migration is an important step for organizations that want to...
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...
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