Skip to content

Instantly share code, notes, and snippets.

@syntaqx
Created November 8, 2023 20:51
Show Gist options
  • Save syntaqx/241cbb633337cd702ae12f23c583a78f to your computer and use it in GitHub Desktop.
Save syntaqx/241cbb633337cd702ae12f23c583a78f to your computer and use it in GitHub Desktop.
URNs in Postgres
SELECT
id,
CONCAT('urn:aptive:customer:', id::text) as urn
FROM customers
LIMIT 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment