16.20 - DETERMINISTIC - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

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.