Insight needed.
I have over 12 text files within a folder and I need to create a database and load the files into the respective tables.
Currently, I am creating the database, creating a temporary table for each text file, bulk inserting each text file to the temporary table and then using "Insert Into" to insert from the respective temporary table into the respective database table.
Any insight as to best practice?
Text files include;
InitialLoad (contains 2014 thru Aug 2016 data)
Monthly text files from Sept 2016 thru July 2017
I have over 12 text files within a folder and I need to create a database and load the files into the respective tables.
Currently, I am creating the database, creating a temporary table for each text file, bulk inserting each text file to the temporary table and then using "Insert Into" to insert from the respective temporary table into the respective database table.
Any insight as to best practice?
Text files include;
InitialLoad (contains 2014 thru Aug 2016 data)
Monthly text files from Sept 2016 thru July 2017