Executing a Procedure, Table UDF, or TPF using View Data in SQL

Populate the Mini iSQL window with the result set of a selected procedure, remote procedure, Table UDF, or TPF.

Prerequisites
Database Version Procedure Privileges
SAP Sybase IQ 15.3 and 15.4 You must have one of:
  • DBA authority
  • You have EXECUTE permission on the procedure
  • You own the procedure
SAP Sybase IQ 16.0 You must have one of:
  • EXECUTE ANY PROCEDURE system privilege
  • You have EXECUTE permission on the procedure
  • You own the procedure
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Compiled Objects, and then select Procedures.
  3. Select a procedure or remote procedure 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.
  4. If the procedure or remote procedure has defined parameters, select a parameter to be used when executing the procedure, and select Next.
  5. The results of the executed procedure display in SQL. Select Execute to execute the procedure again.
Related tasks
Creating a Procedure
Creating a Remote Procedure
Creating a Table UDF or TPF
Deleting a Procedure, Table UDF, or TPF
Generating Procedure, Table UDF, or TPF DDL Commands
Viewing or Modifying a Procedure, Table UDF, or TPF
Granting Procedure EXECUTE Permission
Revoking Procedure EXECUTE Permission
Creating an External Login
Creating a Proxy Table
Creating a Remote Server
Authenticating a Login Account for a Managed Resource
Related reference
Procedure Privilege Summary