9951 explained code solutions for 126 technologies


clickhouseGenerate UUID


SELECT generateUUIDv4()ctrl + c
generateUUIDv4

will generate UUID version 4 value


Usage example

SELECT generateUUIDv4()
output
┌─generateUUIDv4()─────────────────────┐
│ 20309783-d2d0-4723-8235-6da80de62ec8 │
└──────────────────────────────────────┘