Generating a UUID in Postgres for Insert statement?

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
select uuid_generate_v4() as GUID
SELECT * FROM pg_extension;

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Provision AWS EC2 Instance and RDS with Terraform, and Deploy Spring Boot App to EC2 Instance via GitHub Action Pipeline

C# DataTable to List Convert