Magazines I Read This Year
In December I went through my current magazine list and made some changes, mostly based on what I had been...
2012-02-03
643 reads
In December I went through my current magazine list and made some changes, mostly based on what I had been...
2012-02-03
643 reads
Today's script is a template I use for the occasions when a data edit is required to be run against...
2012-02-03
571 reads
http://www.flickr.com/photos/54296260@N05/6036813377/
That is right Dear Reader, I am making the jump, Starting Monday February 6th I will be a Sr. Consultant...
2012-02-03
922 reads
Being a SQL Server DBA, one should be able to understand how many recovery modals do we have in SQL...
2012-02-03
819 reads
AMD had their 2012 Financial Analyst Day today, which is basically a dog and pony show for stock analysts.
Previously,...
2012-02-03
1,177 reads
A few years ago, I wrote a script that was published on SQLServerCentral.com about how to verify the last successful...
2012-02-03
1,724 reads
2012-02-03
546 reads
At one of my customers, we had a very frustrating experience while trying to get PowerPivot for Excel (SQL Server...
2012-02-02
992 reads
2012-02-02
6 reads
2012-02-02
10 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