Make import sql consistent