17.05 - Example: Passing an SQL UDF to a Single-Row Request - 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

This example passes an SQL UDF into a single-row INSERT request. Note that the arguments must be passed as constants.

     INSERT INTO t1
     VALUES (1, test.value_expression(2, 3), 4);