Answers for "postgresql query to generate uuid"

0

Postgresql generate UUID

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

SELECT uuid_generate_v4();

           uuid_generate_v4
--------------------------------------
 a81bc81b-dead-4e5d-abff-90865d1e13b1
(1 row)
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on June-30-2021
1

postgres enable gen_random_uuid

CREATE EXTENSION pgcrypto;
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language