type
INTEGER
PostgreSQL uses a signed 32-bit whole number. SQLite INTEGER has different storage and range semantics. Example target: PostgreSQL 17. Run in a disposable database; examples need no existing tables.
Formal Syntax & Structure
sql syntaxsql
INTEGERWorking Example
Example Snippetsql
SELECT CAST(42 AS INTEGER);