2011-08-23T14:10:35.1746722+08:00
sql某字段存这种时间,怎么用他和当前时间比较?
select xx from t where convert(datetime,xx) > getdate()
如上是不行滴
从字符串转换日期和/或时间时,转换失败。
白衣染霜花
相关分类