JSSUG Tomorrow Night - 8/18/2010
I heard a little birdy cherping and it looks like there is going to be a great give away tomorrow...
2010-08-18
555 reads
I heard a little birdy cherping and it looks like there is going to be a great give away tomorrow...
2010-08-18
555 reads
While getting prepared for an upcoming presentation, I remembered that I installed the November CTP trial on the machine that...
2010-08-18
461 reads
Scott Gleason just posted a blog yesterday that showed an awesome new tool that people can create little animated videos....
2010-08-15
381 reads
Blog Title: Checking Users AD Groups Using Windows CMD
Depending on your role in the organization, there may be a time...
2010-07-29
4,040 reads
If you have ever searched for “commenting in TSQL” scripts, I am sure that you’ve found hundreds or maybe even...
2010-07-29
1,773 reads
Indexes play a huge role in the performance of a query. Without indexes, you very simple query to get the...
2010-07-29
1,005 reads
End users may have a need to do some form of reporting of data from source systems. Opening up the...
2010-07-29
465 reads
Blog Title: Limiting Table Access for Reporting Part 2
In the first blog post of this series, I showed you how...
2010-07-29
585 reads
How many of you keep falling for this one…You open up Report Manager for a user that you know you...
2010-07-29
1,486 reads
In this quick blog, I want to show you one way of how to find out what indexes you have on a table...
2010-07-29
495 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