Some improvements related to MSSQL import