除非你的字符串格式与uniqueidentifier类型一致,且能转换为16进制
begin tryprint convert(uniqueidentifier,‘字符串’)end trybegin catchprint '转换失败'end catch 'C575BF35-ABA2-4B6B-96BD-1B83BA51B82C‘我这里uniqueidentifier类型是这样的,