SQL Server Data Tools BI (SSDT-BI) for SQL Server 2014
Last month I blogged that SQL Server Data Tools for SQL Server 2014 CTP2 now available. You can download that here....
2013-11-14
4,934 reads
Last month I blogged that SQL Server Data Tools for SQL Server 2014 CTP2 now available. You can download that here....
2013-11-14
4,934 reads
What Is Throwback Thursday?
One of my hobbies is being a turntablist. In high school I took a job just so...
2013-11-14
831 reads
I have text file that contains data for a given fiscal period. In this particular file there are around 2...
2013-11-14 (first published: 2013-11-05)
2,115 reads
Jonathan Keyahias (b | t | l) from SQLskills has released a new blog post outlining the metric that Microsoft’s Hyper-V product...
2013-11-14
1,018 reads
In Part 1 of this series, I presented a T-SQL query that will return a summary of login permissions within...
2013-11-13
577 reads
This isn't a normal post. This one is directed to newer people, those who feel pushed around a bit at...
2013-11-13
400 reads
Last week was the 2013 edition of the SQL Server Days. It was an amazing event: there was a great...
2013-11-13
665 reads
Last week was the 2013 edition of the SQL Server Days. It was an amazing event: there was a great...
2013-11-13
1,157 reads
Scenario: I have given a new storage by SAN team to move my database files and logs from old drive...
2013-11-13
1,505 reads
If you decide to park a database in read-only mode for a long period of time, go ahead and alter...
2013-11-13 (first published: 2013-11-05)
2,033 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