Neoview SQL Reference Manual (R2.4)
ALTER VIEW Statement
• “Syntax Description of ALTER VIEW”
• “Example of ALTER VIEW”
The ALTER VIEW statement renames an object within the same schema. See “Database Object
Names” (page 228).
ALTER VIEW name alter-action
alter-action is:
RENAME TO new name
Syntax Description of ALTER VIEW
name
specifies the current name of the object. See “Database Object Names” (page 228).
RENAME TO new-name
changes the logical name of the object within the same schema.
new-name
specifies the new name of the object after the RENAME TO operation occurs.
Considerations for ALTER VIEW
Authorization and Availability Requirements
To alter a view, you must be the view owner or the schema owner or be granted the ALTER or
ALTER_TABLE privilege.
Example of ALTER VIEW
• This example adds a column:
ALTER VIEW persnl.project
RENAME TO persnl.project2
ALTER VIEW Statement 53