Alan Bourke wrote:
> MB Software Solutions General Account wrote:
>   
>> 2) My approach to maintaining the QtyInStock values in Inventory (done 
>> via the triggers)....do you think this is the best approach?
>>   
>>     
> Unless you would ever want to change the database backend, which would 
> necessitate changing to one that has triggers, and then rewriting the 
> triggers, it sounds good to me!
>   

Alan -- what do you think about using a foreign key called iInventoryID 
in the Inventory_Transactions table back to the Inventory.iid field?  Or 
would you instead use a 2-part key, consisting of the iProductID and 
iLocationID fields instead?  Perhaps it's no different when you get 
right down to it?


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to