DEFINITIONS
Definitions More Info.
Definition ID
12.080
Title
POSTGRESQL
Category
NOTES
Definition
global UUID default olarak tanimlama
Definition Description
https://dba.stackexchange.com/questions/122623/default-value-for-uuid-column-in-postgres
1- extension create et
Postgresql contrib kurulu olmasi gerek
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
2- default deger olasmini istedigin alani oluturuken, default olan yere yaz
uuid_generate_v1(); ya da uuid_generate_v4()
dikkat versiyon onemli olabilir.
SELECT uuid_generate_v1();
surumler degisiyor
SELECT uuid_generate_v1();
RecordBy
cunay
Record Date
04-08-2022 11:58:57
Düzenle
Kopyala
Sil