Defining Teradata Methods

The following properties are applicable to a Teradata Method object.

Tab

Property

Description

Additional Information

  Name Specifies the name of the method  
  Use Replace Syntax Specifies whether the REPLACE syntax is used  
  Generate Specifies whether a DDL Statement is generated for the object during forward engineering  

Data Access

 

 

 

 

 

 

 

 

 

 

Self as Result

Specifies whether the method is type preserving

 

Debug

Specifies whether debug symbols are to be produced

 

Deterministic

Specifies whether the method is deterministic

 

Null Input

Specifies whether a method is called if a parameter is null

Called: Indicates that the function is called even if the input is null

Returns Null: Indicates that a null is returned if the input is null

Parameter Style

Specifies whether the parameters are of SQL or Teradata General style

 

Specific Name

Specifies the method as a database object

 

SQL Data Access

Specifies whether SQL statements are permitted in the method

No SQL: Indicates that SQL statements are not permitted in the function

Language

Specifies the language in which the method is written

C: Indicates the the method is written in C language

CPP: Indicates the the method is written in C++ language

Global_Persistent_Data_Set

Specifies the GLOP data set

 

Compile

Specifies the mode in which the method should be compiled

Compile and Build: Indicates that the code source of the method is compiled and the library files (.so or .dll) are created and distributed to all nodes of the system

Compile Only: Indicates that the system only compiles the code source of the method

Execute

Specifies the mode in which the method is executed

Protected: Indicates that the object is executed in protected mode

Not Protected: Indicates that the object is executed in unprotected mode

Parameters

 

 

 

Parameters

Specifies the names of the parameters that are associated with the selected method

 

Physical Data Type

Specifies the user-defined datatype or datatype being used

 

Character Set

Specifies the type of character set that is used

 

Is Variant Type

Specifies whether the parameter is of variant type

 

Return

 

 

 

 

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

Valid options are: Latin, Unicode, Kanji-Shift JIS, and Graphic

Return Cast Data Type

Specifies the data type to which the result returned from the function is cast

Available only when the function type is Scalar

Return Cast User Defined Type

Specifies the user-defined data type to which the result returned from the function is cast

Available only when the function type is Scalar

Return Cast Character Set Type

Specifies the character set type to which the result returned from the function is cast

Valid options are: Latin, Unicode, KanjisSJIS, Kanji1, and Graphic

External

 

 

 

 

Delimiter Specifies the delimiting character for the External Name clause  
External Name Specifies an identifier for the entry point name or a string to identify the path to it  
Entry Point Name Specifies the name of the entry point of the object  
External Security Type Specifies the type of external routine for authorization Definer: Indicates that the OS user authorization that is associated with the creator of the authorization object is used.

Invoker: Indicates that the OS user authorization that is associated with the database user who invokes it is used.

External Security Authorization Specifies the authorizations for users and user permissions  
Source Files   Specifies the source files for the function