A syntax error might occur when you try to use the scoring functions in Teradata


An error similar to the following might occur when you try to use the scoring functions to score a database table:

3706: Syntax error: Data Type "AREA_TYPE" does not match a Defined Type name.

The SampleSQL.txt file that is generated when the functions are created does not preface the function names with the database name in which they are created. In the SQL code that you are using to score the table, you need to add the database name followed by a period at the beginning of the function names.