Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: GUID to CHAR conversion function?
Troy, take a look at the $ORACLE_HOME/rdbms/admin/utlraw.sql script
which creates the utl_raw package. The package contains procedures to
convert varchar2 to raw and raw to varchar2. You would need to write
you own function to handle the formatting of individual areas of your
key.
Oracle has a function named sys_guid that is intended to generate global unique identifiers that you may want to look at. See SQL manual.
HTH -- Mark D Powell -- Received on Fri Mar 17 2006 - 15:11:13 CST