Skip to content

Instantly share code, notes, and snippets.

@ichux
Created September 18, 2018 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ichux/25ab5d327063be09ce966046b98cca45 to your computer and use it in GitHub Desktop.
Save ichux/25ab5d327063be09ce966046b98cca45 to your computer and use it in GitHub Desktop.
playing with Postgre characters
SELECT ASCII('<'), CHR(60), regexp_split_to_array(md5(random() :: TEXT), '') AS value
FROM generate_series(1, 3)
ORDER BY random()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment