You can drop a regular view in both Sybase Central and Interactive SQL.
If you drop a regular view that has dependent views, then the dependent views are made INVALID as part of the drop operation. The dependent views are not usable until they are changed or the original dropped view is recreated. See Altering regular views.
To determine whether a regular view has dependent views, use the sa_dependent_views system procedure. See sa_dependent_views system procedure.
For information about regular views are impacted by changes to their underlying objects, see View dependencies.
To drop a regular view (Sybase Central)
Connect to the database as a user with DBA authority, or as the owner of the regular view.
In the left pane, double-click Views.
Right-click the view and choose Delete.
Click Yes.
To drop a regular view (SQL)
Connect to the database as a user with DBA authority, or as the owner of the regular view.
Execute a DROP VIEW statement.
Remove a regular view called DepartmentSize.
DROP VIEW DepartmentSize; |
See DROP statement.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |