If several functions have the same name, then Teradata Database uses the following steps to determine which function to invoke.
IF... | THEN... |
---|---|
no argument in the function call is the NULL keyword | if one of the functions has parameter types that are identical to the corresponding argument types of the function call, then Teradata Database selects that function. If no function has parameter types that are identical to the corresponding argument types of the function call, then Teradata Database repeats the following test for each argument of the function call, starting with the first (left):
For more information on the rules of compatible precedence, see Compatible Types. |
any argument in the function call is the NULL keyword | Teradata Database repeats the following test for each argument of the function call, starting with the first (left):
After testing each argument and not returning an error, Teradata Database uses the following rules:
For more information on the rules of compatible precedence, see Compatible Types. |