Disabling a View

Disabling a view makes it unusable, but retains the definition of the view in the database. You can enable and recompile the disabled view at a later time. Disabling a view changes the definition of the view but does not change data inside the view.

Prerequisites
Database Version View Privileges
SAP Sybase IQ 15.3 and 15.4 You must have one of:
  • DBA authority
  • You own the view
SAP Sybase IQ 16.0 You must have one of:
  • ALTER ANY VIEW system privilege
  • ALTER ANY OBJECT system privilege
  • You own the view
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Schema Objects > Views, and then select Views.
  3. Select one or more views from the right pane and either:
    • Click the arrow to the right of the name and select Disable, or
    • From the Administration Console menu bar, select Resource > Disable.
    Note: Use Shift-click or Control-click to select multiple views.
  4. Click Yes.
Related concepts
About Views
View Permissions
View Triggers
Related tasks
Creating a View
Viewing View Data in the Execute SQL Window
Recompiling and Enabling a View
Deleting a View
Generating View DDL Commands
Viewing or Modifying View Properties
Authenticating a Login Account for a Managed Resource
Related reference
View Privilege Summary