drop view

Description

Removes one or more views from the database.

Syntax

drop view [databasename], [owner].view

Parameters

view_name

is the name of the view to be dropped. The name must be a legal identifier and cannot include a database name.

Examples

Example 1

drop view new_price

Usage

Each time a view is referenced, another view or stored procedure checks the existence of the view.