Viewing Materialized View Data in the Execute SQL Window

Execute a SELECT * FROM query and display contents of the materialized view in the query results pane of the Execute SQL window.

Prerequisites
Database Version Materialized View Privileges
SAP Sybase IQ 15.3 and 15.4

None required. Query executes with user's current permissions.

SAP Sybase IQ 16.0

None required. Query executes with user's current permissions.

Task
  1. In the Perspective Resources view, select the resource and select Resource > Administration Console.
  2. In the Administration Console, expand IQ Servers > Schema Objects > Views > Materialized Views.
  3. Select a materialized view from the right pane and either:
    • Click the arrow to the right of the name and select View Data in SQL , or
    • From the Administration Console menu bar, select Resource > View Data in SQL .
    Note: Use Shift-click or Control-click to select multiple materialized views.
    A SELECT * FROM <materialized view> query executes.
  4. (Optional) Modify the SQL statement and click Execute to display different data in the materialized view.
  5. Click Close to close the Execute SQL view.
Related concepts
Materialized View Permissions
Materialized View Indexes
Related tasks
Creating a Materialized View
Refreshing Materialized View Data
Truncating Materialized View Data
Validating Materialized View Data
Setting a Clustered Index
Recompiling and Enabling a Materialized View
Disabling a Materialized View
Deleting a Materialized View
Generating Materialized View DDL Commands
Viewing or Modifying Materialized View Properties
Authenticating a Login Account for a Managed Resource
Related reference
Materialized View Privilege Summary