Difference between revisions of "Postgres uuid"
Jump to navigation
Jump to search
(Created page with "select gen_random_uuid ();") |
|||
Line 1: | Line 1: | ||
+ | ``` | ||
select gen_random_uuid (); | select gen_random_uuid (); | ||
+ | |||
+ | select replace((select gen_random_uuid()::TEXT), '-', '') ; | ||
+ | |||
+ | ``` |
Revision as of 14:37, 2 April 2023
select gen_random_uuid (); select replace((select gen_random_uuid()::TEXT), '-', '') ;