15.00 - Restrictions on Declaring an External C++ Procedure - Teradata Database

Teradata Database SQL Data Definition Language Detailed Topics

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1184-015K
Language
English (United States)

Restrictions on Declaring an External C++ Procedure

If you specify CPP in the Language Clause, then you must declare the called C++ procedure as extern “C” to ensure that the procedure name is not converted to an overloaded C++ name, for example.

    extern “C”
    void my_cpp(long int *input_int, long int *result, char sqlstate[6])
    {

See SQL External Routine Programming for details.