A set of parameter names for the method.
The parameter list is a parenthetical comma-separated list of data types, including UDTs, and optional parameter names and locators for the variables to be passed to the method.
Parameter names must be unique within a method definition.
You cannot use the keyword SELF to name method parameters.
The maximum number of parameters a method accepts is 128.
You must specify opening and closing parentheses even if no parameters are to be passed to the function.
If you specify one parameter name, then you must specify names for all the parameters passed to the function.
If you do not specify parameter names, the system assigns unique names to them in the form P1, P2, …, Pn. These names are used in the COMMENT statement (see COMMENT (Comment Placing Form)), displayed in the report produced by the HELP METHOD statement in the PARAMETER NAME column (see HELP METHOD), and appear in the text of error messages.
- data type
- Whether you specify a list of parameter names or not, you must specify a set of data types for the parameters specified.
- CHARACTER SET server_character_set
- You cannot specify the server_character_set as KANJI1. Otherwise, Teradata Database returns an error to the requestor.
- UDT_name
- SYSUDTLIB.UDT_name
- If a parameter in the parameter_name list has a UDT type, the UDT_name entry is the name of that UDT.
- AS LOCATOR
- BLOB and CLOB types must be represented by a locator (see SQL Data Manipulation Language, B035-1146 for a description of locators). Teradata Database does not support in-memory LOB parameters. An AS LOCATOR phrase must be specified for each LOB parameter and return value.