15.10 - DETERMINISTIC - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

The function returns identical results for identical inputs.

DETERMINISTIC and NOT DETERMINISTIC are optional and can only be specified once per function definition.

NOT
The function might not return identical results for identical inputs.
For example, if the SQL function calls a random number generator as part of its processing, then the results of an SQL function call cannot be known in advance of making the call and the function is NOT DETERMINISTIC.
DETERMINISTIC and NOT DETERMINISTIC are optional and can only be specified once per function definition.
The default is NOT DETERMINISTIC.