fix scan time failed at the mssql