scalar

CEIL

Smallest integer-valued number not below x. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
CEIL(x)

Working Example

Example Snippetsql
SELECT ceil(-1.2);
SQL Reference