java、c#、oracle生成uuid的方法

talkingDB 2019-12-28

1、java生成uuid

string a = UUID.randomUUID().toString()

参考:https://blog.csdn.net/qq_36411874/article/details/80360207

2、C#生成uuid

string a = Guid.NewGuid();

参考:https://cloud.tencent.com/developer/ask/90572

3、oracle生成uuid

select sys_guid() from dual

参考:https://www.cnblogs.com/alfredxiao/archive/2010/07/13/oracle_guid.html

相关推荐