Free Data Warehouse Training - SQL Lunch #27 Let's Get Dimensional
Join Adam Jorgensen, tomorrow on the SQL Lunch to learn about Dimensional Modeling. Go to SQL Lunch and add this...
2010-07-21
826 reads
Join Adam Jorgensen, tomorrow on the SQL Lunch to learn about Dimensional Modeling. Go to SQL Lunch and add this...
2010-07-21
826 reads
Tomorrow at 11:00 AM EST I will be giving a talk on SQL Server 2008 R2 for the DBA. Here...
2010-07-21
511 reads
I keep seeing lots of debate about Android v the iPhone 4. I have friends talking about how cool Windows...
2010-07-21
1,172 reads
I’ll be speaking for the SQL PASSDatabase Administration Virtual Chapter next week. It’ll be on July 28 at 12 PM...
2010-07-21
612 reads
Another positive side benefit from moving has been the re-arrangement of the now two small libraries at home: one sorted...
2010-07-21
627 reads
Welcome once more to the Miskatonic branch of SQL University. Please try to concentrate. I realize the whipoorwills singing outside...
2010-07-21
679 reads
WOW! A couple of weeks ago, I announced that I would be offering a few MSDN Ultimate subscriptions to unemployed...
2010-07-21
596 reads
A bit of a silly title, but an interesting story. A few weeks back I posted a note about attending...
2010-07-21
610 reads
One thing I learned years ago in C programming was the elegance of using operators and simplifying expressions. This sometimes...
2010-07-21
738 reads
Well this was going to be replication post, but I have read it, re-written it, read it, re-written and it...
2010-07-20
670 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