24HOP Spring 2012 recordings
Many of the folks who are the PASS members, can have the possibility to watch 24 Hrs of PASS Spring...
2012-04-06 (first published: 2012-04-04)
1,963 reads
Many of the folks who are the PASS members, can have the possibility to watch 24 Hrs of PASS Spring...
2012-04-06 (first published: 2012-04-04)
1,963 reads
(The complete usable code is in the very bottom of this blog post)
Some of you may have seen this “numbers...
2012-04-09 (first published: 2012-04-04)
4,648 reads
I saw a note recently from someone asking if they could use CROSS APPLY on a SQL Server 2008 instance...
2012-04-10 (first published: 2012-04-04)
1,876 reads
TweetG’day,
One of the features that I most like about management studio is the ability to generate a script of the...
2012-04-04
971 reads
If you happen to be in the area on April 21, 2012, join us at Madison Area Technical College – Truax...
2012-04-04
602 reads
To expand on what I talked about in SQL Server 2012 (“Denali”): Details on the next version of SSAS, there is...
2012-04-04
6,566 reads
I mentioned earlier this week that I’m working on a new presentation for SQLSaturday #119 next month. The talk revolves...
2012-04-04
534 reads
The role of the database professional is quickly evolving to conform with the ever changing demands of the business world....
2012-04-04
1,226 reads
I’m going to finish up my thoughts on stress by talking about the philosophy I’ve evolved, some of the tricks...
2012-04-04
830 reads
On Monday I did my first Microsoft SQL Server exam since I did my SQL Server 2000 exams many moons...
2012-04-04
1,451 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