17.05 - Example: Using an SQL UDF in a DELETE Request WHERE Condition - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1146-175K
Language
English (United States)

You can specify an SQL UDF in a WHERE clause search condition if it returns a value expression.

     DELETE FROM t1
     WHERE a1 = test.value_expression(b1, c1);