SQL Server UUID 2020.12.30 2023.04.16 SQL Server 34 words 1 min 12345678910create function [dbo].uuid(@id varchar(36))returns varchar(48)asbegin declare @ret varchar(48) select @ret=format(getdate(),'yyyyMMddHHmmss')+lower(replace(@id,'-','')) return @retendselect dbo.uuid(NEWID()) Author: qomg Link: http://qomg.github.io/2020/12/30/SQLServerUUID/ License: 本博客所有文章除特别声明外,均采用许可协议 CC-BY-NC-4.0 转载请注明出处! UUID gitlab - use emoji in commit message Docker run MSSQL Server Linux