Generating View DDL Commands

Display the data description language SQL code for adding a view to the database. The SQL code can be a useful reference and training tool.

Prerequisites
Database Version View Privileges
SAP Sybase IQ 15.3 and 15.4 None.
SAP Sybase IQ 16.0 None.
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 Generate DDL, or
    • From the Administration Console menu bar, select Resource > Generate DDL.
    Note: Use Shift-click or Control-click to select multiple views.
    The DDL view shows the SQL code used to add the selected views to the database.
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
Disabling a View
Deleting a View
Viewing or Modifying View Properties
Authenticating a Login Account for a Managed Resource
Related reference
View Privilege Summary