views:

203

answers:

2

I want to write a stored procedure to increment the value of an int column by one. Looks like a very simple task, but not for someone without ANY experience with stored procedures.

To do that I looked for tutorials and code samples, and found a few, but sure there are better ones out there. Do you know any?

The ones I found:

A: 

It is in german but it is a good one. http://www.tutorials.de/forum/sql-tutorials/179510-stored-procedures-mysql-5-a.html

In english I think the stuff at this place is fine. You got many different tutorials. http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx

Luixv
A: 

I'd recommend picking up a copy of MySQL Second Edition by Larry Ullman. He has a good overview of stored procedures. That coupled with the tutorials you've already found should give you a good start with them.

DBA_Alex