Professional Documents
Culture Documents
Create a View
Views are created using CREATE VIEW
statement.
Syntax
Following is the syntax for creating a view.
Example
Consider the following Employee table.
Using Views
You can use regular SELECT statement to
retrieve data from Views.
Example
The following example retrieves the records
from Employee_View;
Modifying Views
An existing view can be modified using
REPLACE VIEW statement.
Example
The following example modifies the view
Employee_View for adding additional
columns.
Drop View
An existing view can be dropped using
DROP VIEW statement.
Syntax
Following is the syntax of DROP VIEW.
Example
Following is an example to drop the view
Employee_View.
Print Page