lotharious
MIS
I have two questions. First, Im basically new to stored procedures having only had experience with informix 8 years ago and dont remember much.
Im using php web app and mysql5
First question.
In a database, I will need to make an update that will be updating 4 or possibly 5 tables base on an update of the one table. The update may be a deletion of a row and not a update command. I am assuming this would be better done in a stored procedure. True or not?
If true, second question,
How do I do an if statement in stored procedures and/or any links/faq's available on mysql stored procedures?
Im using php web app and mysql5
First question.
In a database, I will need to make an update that will be updating 4 or possibly 5 tables base on an update of the one table. The update may be a deletion of a row and not a update command. I am assuming this would be better done in a stored procedure. True or not?
If true, second question,
How do I do an if statement in stored procedures and/or any links/faq's available on mysql stored procedures?