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
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
vnq1596660420420.ditamap
dita:ditavalPath
hoy1596145193032.ditaval

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);