# ALTER INDEX ``` ALTER INDEX [ ]{ } ON { | } [ ( [ ASC | DESC ] [ ,...n ] ) ] { REBUILD | DISABLE | RESUME} ``` Discussion: `RESUME` will rebuild the index if the underlying object is dirty. # ALTER NAMESPACE ``` ALTER NAMESPACE [ . ] TRANSFER { TABLE | VIEW } [ ]{ | } ``` Discussion: The namespace *sys* cannot be altered, nor can objects be transferred in or out of it. # ALTER PROCEDURE ``` ALTER { PROC | PROCEDURE } [] [ { # } ] [ ,...n ] AS { ; | *hoon } [ ;...n ] ``` Discussion: TBD # ALTER TABLE ``` ALTER TABLE [ ]{ } { ALTER COLUMN ( { } [ ,... n ] ) | ADD COLUMN ( { } [ ,... n ] ) | DROP COLUMN ( { } [ ,... n ] ) | ADD FOREIGN KEY ( [ ,... n ]) REFERENCES [.] ( [ ,... n ]) [ ON DELETE { NO ACTION | CASCADE } ] [ ON UPDATE { NO ACTION | CASCADE } ] [ ,... n ] | DROP FOREIGN KEY ( [ ,... n ] } ) ``` Example: ``` ALTER TABLE my-table DROP FOREIGN KEY fk-1, fk-2 ``` # ALTER TRIGGER ``` ALTER TRIGGER { [ ]{ } | ALL ] ON { SERVER | | | } [ ENABLE | DISABLE ] ``` Discussion: TBD # ALTER VIEW ``` ALTER VIEW [ ]{ } ( { [.] } [ ,...n ] ) AS ```