ALTER VIEW
Documentation for the ALTER VIEW statement, which is used to modify an existing view's definition without dropping and recreating it.
Syntax
ALTER
[ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}]
[DEFINER = { user | CURRENT_USER }]
[SQL SECURITY { DEFINER | INVOKER }]
VIEW view_name [(column_list)]
AS select_statement
[WITH [CASCADED | LOCAL] CHECK OPTION]Description
Example
ALTER VIEW v AS SELECT a, a*3 AS a2 FROM t;See Also
Last updated
Was this helpful?

