How to alter column size of a view in Oracle
问题 I am trying to alter the column size of a view with the same command that we use for table like : alter table STUDENT modify ( ROLL_NO VARCHAR2(80) ); But its throwing error SQL Error: ORA-00942: table or view does not exist So how we can alter the column size of a view? 回答1: A view is simply saved query and "inherits" column type from underlying base table. So if you need to change metadata you should alter view definition: ALTER VIEW view_students AS SELECT CAST(roll_no AS VARCHAR2(80)) AS