以下查询不会更新datetime字段:
update table SET EndDate = '2009-05-25' WHERE Id = 1
我也试过了,没有破折号,但也不起作用。
https://stackoverflow.com/questions/3144074
相似问题