Viewing 15 posts - 14,326 through 14,340 (of 18,923 total)
Well it does recheck the condition for every row... but it doesn't mean that the server doesn't use some sort a left join to do the check internally and fast...
August 16, 2005 at 10:39 pm
Set nocount is more of a network boost (small but not insignificant). The nolock will speed up the reads but that can include uncomited data in the selects, can...
August 16, 2005 at 10:37 pm
Your solution is static, the maximum number of stages is 3. For having worked with contract steps, believe me that the list can be very long (seen up to...
August 16, 2005 at 10:34 pm
It would probabely be a good idea to have dates it that table to know when everything hapenned.
August 16, 2005 at 3:11 pm
As I said it can be done... but when you have 30 objects doing that dance and the manager says, when need to get 6 stages in there instead of...
August 16, 2005 at 2:54 pm
well you'd only have a single table containing the caseid, what state it's (probabely would take a stage table too) in, and the stagestatusid. Then it's just a simple 2-3...
August 16, 2005 at 2:49 pm
Yup this guy is good... Other articles from him that you can't not read :
August 16, 2005 at 2:39 pm
Yes you can join to the same table as many times as you want.
But this is a case where you need to build your table differently :
CaseID
StageID (or StageNumber)
StageStatusID
make...
August 16, 2005 at 2:38 pm
You have the right syntax. Why do you need to use that?
August 16, 2005 at 2:16 pm
I was reffering to my situation... I didn't check your relations situation.
August 16, 2005 at 1:31 pm
Yup, that's why I preffer making a single sp that deletes form 7 tables instead of on delete/cascade. This would put me in a situation where a delete of...
August 16, 2005 at 1:19 pm
Wouldn't you be a little impatient if you were in my shoes
... and I don't wanna keep him waiting too long.
August 16, 2005 at 1:16 pm
Did you get it this time? Looks like you're not getting the notifications of PM anymore (or you're just busy working
.
August 16, 2005 at 1:06 pm
I think I heard my name in this thread
.
August 16, 2005 at 1:04 pm
Hehe, I learn something new everyday... espicially today. I didn't know that the server was validating this... but then again I don't use on cascade delete very often.
August 16, 2005 at 12:51 pm
Viewing 15 posts - 14,326 through 14,340 (of 18,923 total)