forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
4.6 KiB
4.6 KiB
UUID Functions
UUID functions are used to generate UUID data (see UUID Type).
- uuid_generate_v1()
Description: Generates a UUID sequence number.
Return type: UUID
Example:
1 2 3 4 5
SELECT uuid_generate_v1(); uuid_generate_v1 -------------------------------------- c71ceaca-a175-11e9-a920-797ff7000001 (1 row)
- sys_guid()
Description: Generate a sequence number that is the same as the sequence number generated by the Oracle sys_guid method.
Return type: text
Example:
1 2 3 4 5
SELECT sys_guid(); sys_guid ---------------------------------- 4EBD3C74A17A11E9A1BF797FF7000001 (1 row)
Parent topic: Functions and Operators