skip to Main Content

generate uuid for insert statement – Postgresql

I want to generate uuid like this e58ed763-928c-4155-bee9-fdbaaadc15f3 when data is inserted into table: CREATE TABLE IF NOT EXISTS bin_lists ( id uuid NOT NULL, bin integer, card_brand character varying(64) COLLATE pg_catalog."default", status character varying(255) COLLATE pg_catalog."default" NOT NULL, CONSTRAINT…

VIEW QUESTION
Back To Top
Search