calculated colum or stored proceedure or just php funcion needed ?
Posted
by mcgrailm
on Stack Overflow
See other posts from Stack Overflow
or by mcgrailm
Published on 2010-05-16T19:56:04Z
Indexed on
2010/05/16
20:00 UTC
Read the original article
Hit count: 323
I have an order table in MySQL database and is has a field/column which store the dattime stamp of when the order was placed and I need to calculate when the order must be shipped. I could probably figure out how to right a function to calculate the ship date and call that when ever needed but I think, not sure it may moake more sense to have the shipdate as a column that is somehow calculate in mysql.
that being said I have Never used a stored procedure or created a calculated field. the later I think would be best but again not sure. I used to make calculated field all the time in FMP but I've gotten away from that program.
if someone could point me in the right direction or tell me why it would be better to do it one way over another I'd appreciate it .
thanks Mike
© Stack Overflow or respective owner