CEILING Function Syntax | Teradata Vantage - 17.10 - CEILING Function Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1145-171K
Language
English (United States)
[TD_SYSFNLIB.] { CEILING | CEIL } (arg)

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
arg
Expression with one of the following data types:
  • BYTEINT
  • SMALLINT
  • INTEGER
  • BIGINT
  • FLOAT/REAL/DOUBLE PRECISION
  • DECIMAL/NUMERIC
  • NUMBER
IF arg is... THEN CEILING returns...
a non-exact number the next integer value that is greater than arg.
an exact number the input argument arg.
NULL NULL.