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

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

posted @ 2019-12-28 08:48  masha2017  阅读(484)  评论(0编辑  收藏  举报