Examples ALTER DATABASE statistics DEFAULT CHARACTER SET utf8;
ALTER EVENT ALTER EVENT [DEFINER = { user | CURRENT_USER }] name [ON SCHEDULE schedule] [RENAME TO new_name] [ON COMPLETION [NOT] PRESERVE] [ENABLE | DISABLE] [COMMENT 'comment string'] [DO statement]
Alters the characteristics associated with the event. For details on the meanings of the various clauses, view the CREATE EVENT command.
ALTER FUNCTION ALTER FUNCTION name [{CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA}] [SQL SECURITY { DEFINER | INVOKER}] [COMMENT 'comment string']
Alters the characteristics associated with the function. The ALTER ROUTINE permission (granted automatically to a procedure creator) is required to make these changes.
ALTER PROCEDURE ALTER PROCEDURE name [{CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA}] [SQL SECURITY { DEFINER | INVOKER}] [COMMENT 'comment string']
Alters the characteristics associated with the procedure. The ALTER ROUTINE permission (granted automatically to a procedure creator) is required to make these changes.
36 |
MySQL Pocket Reference