I have a table in ORACLE with a column which has a data type of NUMBER(*,0)
. As per my understanding it means precision will be 38 since that is the maximum limit of precision and scale value will be 0 which means no numbers will be allowed after decimal point i.e. will store integers?
I have a requirement where I have to create same table in PostgreSQL. Is it possible to write NUMERIC(*,0)
in PostgreSQL? If not, what will be PostgreSQL equivalent of NUMBER(*,0
)?
bigint
in Postgres is enough? – a_horse_with_no_name