Icon RENAME VIEW

Renames an existing view.

Syntax
RENAME VIEW <Name> TO <Name>

Usage
Use this statement to rename a view in a database.

Warning Renaming a view can cause other jobs, functions, procedures, and triggers to generate an error if they refer to the view being renamed.

Examples
-- The following statement renames the EmployeesList
-- view to Employees.

RENAME VIEW "EmployeesList" TO "Employees"

Required Privileges
The current user must be granted the ALTER privilege on the current database in order to execute this statement. Please see the User Security topic for more information.

SQL 2003 Standard Deviations
This statement deviates from the SQL 2003 standard in the following ways:

DeviationDetails
ExtensionThis SQL statement is an ElevateDB extension.
Image