sqlsamurai
Programmer
I want to be able to import a Tab demlimited text file into a table in SQL Server.
My first instinct was write a small .NET app that would import the text file into a datatable then add the records in the datatable into the table in SQL Server.
I have looked all over the internet and cant seem to find an example of importing a tab delimited file and then adding the imported records into a table in a database.
Then i thought it might be easier to create a job or a dts job and just run that on demand from my .NET app. Not sure which one would be the best approach.
Does anybody have any advice?
My first instinct was write a small .NET app that would import the text file into a datatable then add the records in the datatable into the table in SQL Server.
I have looked all over the internet and cant seem to find an example of importing a tab delimited file and then adding the imported records into a table in a database.
Then i thought it might be easier to create a job or a dts job and just run that on demand from my .NET app. Not sure which one would be the best approach.
Does anybody have any advice?