A suggestion. If you are using MS SQL Server: Import data using Enterprise Manager to create the table from the file, then modify the column types and length to suit the data being imported. You can delete all records and import again using this table to save you modifying it again or create a script of the table and use it to drop table and create a new table.
You can create a local SQL package to automate this - Open Enterprise Manager, select Data Transformation Services and create local package. Using this package, you basically tell SQL the file name and it will import it into a table. You can set up a job in SQL to import the data. Part of the package could be a step that checks for a new file.
|