Examples: Functions - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
Function Description
SELECT CHARACTER_LENGTH(Details)

FROM Orders;

Scalar function taking the character or CLOB value in the Details column and returning a numeric value for each row in the Orders table.
SELECT AVG(Salary)

FROM Employee;

Aggregate function returning a single numeric value for the group of numeric values specified by the Salary column in the Employee table.