Executing UDFs from an External Environment

Execute UDFs in the CLR, ESQL and ODBC, Java, Perl, or PHP external environments.

Prerequisites
There are no licensing prerequisites. The external runtime environments do not require the IQ_IDA license. The external runtime environments do not require the a_v3_extfn or a_v4_extfn APIs.
Task
  1. Set up the external environment to be used on the database server.
     ALTER EXTERNAL ENVIRONMENT environment-name 
         [ LOCATION location-string ]
  2. Install external objects (CLR, ESQL and ODBC, Java, Perl, or PHP) into the database.
  3. Use CREATE PROCEDURE and CREATE FUNCTION statements to create stored procedures and functions that make use of these objects within the external environment.
  4. Reference the stored procedure or function. Reference stored procedures in the FROM clause of your query.
Related concepts
The CLR External Environment
The ESQL and ODBC External Environments
The Java External Environment
PERL External Environment
PHP External Environment
Related reference
CREATE PROCEDURE Statement (Java UDF)
CREATE FUNCTION Statement (Java UDF)