SqlLite语句的日期格式要求很严格呀

比如这句话是不行的:
update ERP_Invoice set WriteOffDeadline='2011-1-1' where id in (2,3)
应该是这样才对:
update ERP_Invoice set WriteOffDeadline='2011-01-01' where id in (2,3)

你可能感兴趣的:(SqlLite语句的日期格式要求很严格呀)