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

Teradata Database SQL Data Definition Language Detailed Topics

prodname
Teradata Database
vrm_release
15.00
category
Programming Reference
featnum
B035-1184-015K

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.