Answers for "uuid v4 postgres"

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
0

postgressql uuid

SELECT gen_random_uuid();
Posted by: Guest on September-13-2021

Browse Popular Code Answers by Language