Viewing 4 posts - 1 through 4 (of 4 total)
The update is done once a day in the morning. Is that still taxing on the hard drives?
November 4, 2005 at 6:28 am
The way it's working now is I update the four costs first then I ran the code in the previous post to get lowestcost and it seems to be working...
November 3, 2005 at 10:14 am
What about this??
update bestcost set lowestcost = coalesce(itemfilecost, listcost, bluebookcost, mfrcost)
update bestcost set lowestcost = listcost where listcost < lowestcost
update bestcost set lowestcost = bluebookcost where bluebookcost < lowestcost
update bestcost...
November 3, 2005 at 6:48 am
What's involved with a computed column?
The CASE worked like a champ, but sometimes one of the four cost columns is null and it's updating the best cost field to null,...
November 2, 2005 at 2:57 pm
Viewing 4 posts - 1 through 4 (of 4 total)