RefLib

Reference library for AI

Back

postgresql_16:7.1.56.4 Examples

PostgreSQL 16 > Reference > SQL Commands > CREATE CAST > Examples

To create an assignment cast from type bigint to type int4 using the function int4(bigint): CREATE CAST (bigint AS int4) WITH FUNCTION int4(bigint) AS ASSIGNMENT; (This cast is already predefined in the system.)

Back