Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #Postgresql #generate #UUID
ADD COMMENT
Topic
Name
5+7 =