Allow dynamic conversion of import sql for SQL Server compatibility