17.10 - SQL Definition for the Constructor Method - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

The following CREATE METHOD statement installs the constructor method in the database:

CREATE CONSTRUCTOR METHOD circle_t(x INTEGER,
                                   y INTEGER,
                                   radius INTEGER,
                                   color color_t )
   RETURNS circle_t
   FOR circle_t
   EXTERNAL NAME 'CS!c_t!udmsrc/c_circle_t.c!F!circle_t_constructor';