I am wondering if there is any alternative to copy-paste for populating a table?
I have a set of many sentences and each sentence has to be a record in a table.
Is there any way (script?) to get the data into th table without having to copypaste each item into an INSERT statement? Maybe a loop that goes line buy line from a varchar variable and uses it in the INSERT statement?
I was researching this question but have not come up with any solutions…
You can copy the data in to CSV File and import the CSV file using import flat file option in Management studio. You can map columns as required.