Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

php|architect:
Stored Procedure Programming for MySQL5 (Part 2)
Aug 08, 2006 @ 17:11:54

The A/R/T article repository (from php|architect) has posted the second part of their series covering stored procedure programming in MySQL by Ligaya Turmelle.

Now that we become familiar with the fundamentals of stored procedures it is time to start playing with the "Big Boy Toys". This article will go over stored procedures's built in error handling, the security features available, various "extras" available, what isn't allowed in a stored procedure, and some basic administration of the stored procedures. So lets stop talking and bust open the toy box and start playing!

Since they've already gotten the groundwork laid in the previous article, they jump right into the transactions in this part. In this example, they create a "mass insert", show hoe to create some error handling, add in a dash of security, and toss in a few extras. There's also a few small gotchas included to watch out for.

tagged: mysql stored procedure programming part2 mass insert error security mysql stored procedure programming part2 mass insert error security

Link:


Trending Topics: