Answer the question
In order to leave comments, you need to log in
Where can I find information about the :: sign in postgresql?
I'm trying to cast data types with it (`number::int`, `number::serial`), but apparently not everything can be cast with it.
Answer the question
In order to leave comments, you need to log in
https://www.postgresql.org/docs/current/sql-expres...
CAST ( expression AS type )
expression::type
The CAST syntax conforms to SQL; the syntax with :: is historical PostgreSQL usage.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question