3. Elements of SQL Statements : SQL Functions : UUID Functions : UUID_TO_CHAR(u) Function
 
Share this page                  
UUID_TO_CHAR(u) Function
The UUID_TO_CHAR(u) function converts a generated UUID into its character representation.
* SELECT UUID_TO_CHAR(u1) FROM uuidtable;
//
// Verify length of UUID in character format
//
* SELECT LENGTH(UUID_TO_CHAR(u1)) FROM uuidtable;
//
//A UUID contains 36 characters
//