when v.value is not null and rtrim(ltrim(v.value)) <> '' and isdate(v.value) = 1, it needs to be convert to datetime, not varchar(20). The data is insert into a table that has datetime data type.
thanks.
when v.value is not null and rtrim(ltrim(v.value)) <> '' and isdate(v.value) = 1, it needs to be convert to datetime, not varchar(20). The data is insert into a table that has datetime data type.
thanks.