Teradata Database uses the rules in the following table to select a UDT constructor:
IF the NEW expression specifies a constructor with an argument list that is … | THEN … |
---|---|
empty | If a constructor method that takes no parameters and has the same name as the UDT:
|
not empty | Teradata Database selects the constructor method in SYSUDTLIB with a parameter list that matches the arguments passed to the constructor in the NEW expression. |