SQL Saturday 49 Delivery Mechanisms - Presentation Slide Deck and Files
This past weekend, my wife and I travelled down to Orlando for SQL Saturday 49. I wasn't planning on presenting,...
2010-10-20
415 reads
This past weekend, my wife and I travelled down to Orlando for SQL Saturday 49. I wasn't planning on presenting,...
2010-10-20
415 reads
I posted a blog recently about returning a listing of all indexes for database, which is good if you want...
2010-10-16
1,165 reads
While doing some performance testing recently and utilizing some of the DMV’s I figured, I better find out when the...
2010-10-16
1,554 reads
I typically don’t blog about other people blogs, because quite frankly I don’t like giving summations of the work someone...
2010-10-14
654 reads
A while ago, I showed you how to find out what indexes were on a table using the GUI. Today,...
2010-10-14
35,319 reads
A while ago, I posted a blog on how one could perform running totals using Reporting Services and a user...
2010-10-11
4,401 reads
Presenting is a huge fear for many and it is no different for me. I have been presenting at SQL...
2010-10-10
591 reads
Recently, I came across a forum post from a user trying to determine if a directory existed in the file...
2010-10-06
14,395 reads
Here is another one of those strange but true things that I come across every so often which I thought...
2010-10-06
3,573 reads
While working on a project recently, I came across a conversion that was trying to convert a date to an...
2010-10-05
820 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