Generate a random UUID using `uuid-ossp`.
Section: Extensions and Specialized Utilities
Generate UUID
sql
sql
SELECT uuid_generate_v4();Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Extensions and Specialized Utilities