抱歉!没说清楚。我用存储过程导入一批数据时,在其中判断一个表中的日期(字符类型字段)是否合法,如不合法,统一设置‘1999.1.1’。
update xs_import set csrq='1900.1.1' where ISDATE(csrq)<>1多谢关注!