Bug #24771 | ALTER PROCEDURE syntax doesnt work as described in manual | ||
---|---|---|---|
Submitted: | 2 Dec 2006 2:31 | Modified: | 3 Dec 2006 10:30 |
Reporter: | Luis Felipe Saldamando | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.24a | OS: | Windows (Win2k) |
Assigned to: | CPU Architecture: | Any | |
Tags: | alter procedure header definition error 1064 |
[2 Dec 2006 2:31]
Luis Felipe Saldamando
[3 Dec 2006 10:30]
Valeriy Kravchuk
Please, read the manual (http://dev.mysql.com/doc/refman/5.0/en/alter-procedure.html, http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html) carefully. You can not use ALTER to change procedure's body (routine_body). You have to DROP and CREATE it with a new code.