sql server查询中出现 将字符串转换为 uniqueidentifier 时失败异常
原因为id设置为uniqueidentifier 字段,在where查询时需要做转换cast(id as varchar(36)),例如