Viewing 15 posts - 226 through 240 (of 285 total)
ziedkallel (8/5/2010)
CELKO (8/5/2010)
August 6, 2010 at 3:21 am
Hi
You can't use a check constraint to alter values - it can only check the values and generate an error if they are incorrect.
You can however use a trigger to...
August 6, 2010 at 2:58 am
Hi
I'd go with Jack's first option - i.e to use local variables, since the first thing you do in the stored procedure is overwrite the parameter values anyway. So that...
August 6, 2010 at 2:51 am
Duncan Pryde (8/5/2010)
Toreador (8/5/2010)
August 5, 2010 at 6:14 am
Toreador (8/5/2010)
August 5, 2010 at 6:05 am
Completely missed what the question was asking until after I'd answered it. Spent far too long looking at the ROUND() part of it, and not the integer division part.
I should...
August 4, 2010 at 6:40 am
Good question - it was obvious immediately what was being asked, which is always nice (I always have a problem with obscure/trick questions!).
Also, it's nice to be reminded of these...
August 4, 2010 at 5:32 am
Nice - one of those questions that makes you pause for a couple of seconds and think "Could there be an obscure use of this keyword that I'm not aware...
July 26, 2010 at 1:08 am
Thanks for the question. I'd not come across filtered indexes before, so it's only 7:30am and I've already learnt something new today. Can't ask for much more than that!
Duncan
July 22, 2010 at 12:34 am
jghali (7/21/2010)
But since we are developping the application, we are beeing very careful that they are only used when there aren't...
July 21, 2010 at 3:30 pm
Duncan Pryde (7/21/2010)
- There may be yet other alternatives of course, but I can't think what they might be off the top of my head.
Oh wait - there's the...
July 21, 2010 at 8:52 am
OCTom (7/21/2010)
It's a great question and something that needed research on my part. Thanks for the question.Has anyone used computed columns and why?
Thanks.
Frequently, and for general ease-of-use reasons...
July 21, 2010 at 8:50 am
jghali (7/21/2010)
The QoD is a great way to learn... I've learned so much answering and reading answers.
I would like to thank SQLServerCentral for this great...
July 21, 2010 at 6:56 am
A good question, apart from the ambiguity surrounding the resources question. Since it's calculated at runtime, it doesn't use any disk resources, and I can't see how having a select...
July 21, 2010 at 1:19 am
Nice question - I guessed that the collation was case insensitive (the default on any installation I've done), but got it wrong anyway, because I didn't spot that "Green" had...
July 19, 2010 at 7:17 am
Viewing 15 posts - 226 through 240 (of 285 total)