How to generate a GUID in Oracle? -
Is it possible to automatically generate a GUID in an insertion statement?
In addition, what type of field should I use to store this GUID?
You can use SYS_GUID () function to generate a GUID in your insert statement:
insert mytable (guid_col, data) values (sys_guid (), 'xxx');
The primary dataType RA (16) for archiving GUIDs is
Gopinath Answer:
select sys_guid () double dual union all select sys_guid () Association Dual
Download from
88FDC68C75DDF955E040449808B55601
88FDC68C75DEF955E040449808B55601
88FDC68C75DFF955E040449808B55601 only separated by a letter88FDC68C75D D F955E040449808B55601
88FDC68C75D email F955E040449808B55601
88FDC68C75D F F955E040449808B55601Maybe useful:
Comments
Post a Comment