当前位置:Gxlcms > 数据库问题 > sqlserver 生成guid以及一些字串操作

sqlserver 生成guid以及一些字串操作

时间:2021-07-01 10:21:17 帮助过:4人阅读

生成guid () 去掉‘-’并转成小写 declare @guid varchar(50) select @guid = NEWID() select len(@guid) select REPLACE(@guid,-,‘‘) select len( REPLACE(@guid,-,‘‘))

技术分享

 

sqlserver 生成guid以及一些字串操作

标签:

人气教程排行