Specify Data Access Options

Work with the Options tab on the Teradata Function Editor to specify data access options.

To specify data access options for a Teradata Function:

  1. Open the Teradata Function Editor and click the Options tab.

    The Options tab opens.

  2. Complete the following fields:
    Class

    Specifies whether the function is scalar or aggregate. Select from the drop-down list.

    Aggregate Cache Size

    Specifies the size of the cache for the aggregate function.

    Deterministic

    Specifies whether the database function is deterministic.

    Language

    Specifies what language the stored procedure is written in. Select from the drop-down list. Valid values are: C or CPP (C++).

    Null Input

    Specifies whether a method is called if a parameter is null. Select from the drop-down list. Valid values are: Called or Returns Null.

    Parameter Style

    Specifies in which style the parameters are. Select from the drop-down list. Valid values are SQL, Teradata General, and Java.

    SQL Data Access

    Specifies whether the SQL statements are permitted in the function. Select from the drop-down list.

    Global Persistent Data Set (Teradata Version 13 only)

    Specifies the GLOP data set.

    Debug

    Specifies whether debug symbols are to be produced.

    Compile

    Specifies the mode in which the function should be compiled. Select from the drop-down list. Valid values are: Compile and Build or Compile Only.

    Execute

    Specifies the mode in which the function should be executed. Select from the drop-down list. Valid values are: Protected and Not Protected.

  3. Click Close.

    The Teradata Function Editor closes.

More information:

Add User-Defined Teradata Functions