Viewing 15 posts - 301 through 315 (of 370 total)
I'd love to see an article showing a real world application of switching partitions.
I understand it would be great for historical data that can be archived by a date field,...
September 17, 2011 at 1:25 pm
A code showing a unique filtered index would be like this:
CREATE UNIQUE NONCLUSTERED INDEX UX_TableName_Field ON dbo.TableName(Field)
WHERE Field IS NOT NULL;
Best regards,
September 14, 2011 at 11:06 am
I have seen that technique of combining unique indexes with filtered indexes before and it's really great to be able to do that. Thanks for bringing it up.
I really like...
September 14, 2011 at 10:27 am
I have learned many many things from his articles and posts (and still am).
The man is a legend!
*offers beer*
Best regards,
September 14, 2011 at 9:56 am
I agree that it's a great question and I thank the author for it but could you please correct the code and allow us to answer it again? Maybe you...
September 14, 2011 at 5:17 am
I couldn't find 1 as the correct answer for the second SELECT so I chose the four options below:
- Insert into table dbo.cuss1 generates an error msg
- Insert into table...
September 13, 2011 at 9:48 pm
Thank you for the question.
Had to think this one through because of the operators.
And the variable was just to mess with us? 😛
Best regards,
September 13, 2011 at 5:02 am
Nice easy question. Thank you.
I've got it right because I'm thinking that the sys.sysobjects view is created inside any databases as a duplicate object from the model database. But the...
September 12, 2011 at 10:28 am
Thank you for the detailed explanation, GilaMonster.
I will study your post a little more and you're right.
In the company I work for we don't have DBAs so it's basically us...
September 8, 2011 at 2:16 pm
GilaMonster (9/7/2011)
September 8, 2011 at 1:06 pm
Surely but almost 100% fragmentation? The table has only a few columns and any row doesn't even have 500 bytes each. Perhaps I'm missing an important point here? Would...
September 7, 2011 at 1:04 am
I couldn't test the code but it seems to me that the problem happens because you're using a subquery inside another subquery while the fields displayed in the error message...
September 6, 2011 at 2:12 pm
archie flockhart (9/6/2011)
September 6, 2011 at 1:38 pm
I had problems with ORDER BY before so that wasn't hard for me.
Thank you for such a straightforward question about a very important subject.
Best regards,
September 6, 2011 at 5:27 am
honza.mf (9/4/2011)
codebyo (9/3/2011)
September 4, 2011 at 4:34 pm
Viewing 15 posts - 301 through 315 (of 370 total)