16.20 - Debugging Outside the Database - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

The best practice is to develop and test the method outside the database. You can use your own debugging tools to verify functionality.

Be sure your tests include the following:
  • Limit checks on the input values
  • Limit checks on the return value (for scalar and aggregate UDFs) or on the output argument values (for table UDFs)
  • Proper handling of NULLs
  • Exception handling