Specify the Return Values for a Teradata Method

Use the Return tab on the Teradata Methods Editor to define return values for a Method.

To specify the return values for a Teradata method

  1. Open the Teradata Method Editor and click the Return tab.

    The Return tab opens.

  2. Work with the following options:
    Return Data Type

    Specifies the datatype for the value returned by the method.

    Character Set Type

    Specifies the database character set type to use for column data.

    Return Cast Data Type

    Specifies casting from data type.

    Note: This property displays only if the function type is set to scalar.

    Return Cast User Defined Type

    Specifies the data-type/domain casting from.

    Note: This property displays only if the function type is set to scalar.

    Return Cast Character Set Type

    Specifies the character set that is being used. Select from the drop-down list. Valid values are: Latin, Unicode, Kanji-Shift JIS, Graphic, and Kanji1.

  3. Click Close.

    The Teradata Method Editor closes.