database - Auto Import many .txt files into sql server table -
i have many .txt files , want import them sql server table.
the file names like:
hazem.20160922.txt
hazem2.20160921.txt
the table exists no need create again. daily activity, need automate that. read many articles online , unable it.
since said automatic process should happen every day, can create ssis (etl) job , can schedule job in such away run everyday.
here link explain how create etl package flat file source , database destination.
this link step step procedure scheduling job in sql server agent.
you can select folder path instead of file name in source etl job move files in folder destination table once per day.
Comments
Post a Comment