I want to import a one column text file into one of my sql tables. The file is just a list of swear words.
I\'ve written the following TSQL to do this
You need to make sure the structure of your text file and the table match - if the table has two fields, then you will have to provide two fields/columns in the text file as well.
Since the first column in the SQL table is an IDENTITY field, you can provide any value you want - but you have to have a value there, I don't think there's any way around this.
Marc