本文共 375 字,大约阅读时间需要 1 分钟。
No ready made function is provided To validate date This function work (you can take what ever size you want in varchar(1-1024) ) CREATE FUNCTION IsDate (sIn varchar(1024)) RETURNS INT BEGIN declare tp int; if (select length(date(sIn)) is null )then set tp = 0; else set tp = 1; end if; RETURN tp; END If you find any bug for this please post it here I will try to solve this 转载地址:http://zhfmi.baihongyu.com/