Alter Table View. ALTER TABLE table_name ADD column_name datatype. You may want to recompile a view explicitly after altering one of its base tables to ensure that the alteration does not affect the view or other objects that depend on it.
Drop table or view properties. The following commands create a view then change its owner. ALTER TABLE dboTable1 ALTER COLUMN ID BIGINT.
The ALTER TABLE statement is used to add delete or modify columns in an existing table.
ALTER VIEW dbotbl AS SELECT col1 col2 col3 col4 FROM dbotbl The error that I get is ALTER VIEW must be the first statement in a query batch. In MySQL UPDATE VIEW TABLE statement syntax is - ALTER VIEW view_name AS SELECT columns FROM table WHERE conditions. ALTER ALGORITHM UNDEFINED MERGE TEMPTABLE VIEW view_name column_list AS select_statement. The following command changes the VENUE table owner to the user DWUSER.