feature #5515 fixing MSSQL server migration script