Reputation: 95
I need to insert large amounts of data into postgresql using multi-row inserts.
I am currently doing this by constructing the sql query using a stringbuilder and appending the values but I was wondering if there is a way to use commands and command parameters instead?
Upvotes: 3
Views: 3013
Reputation: 1796
Here is good copy guide for inserting big amount of data.
Here is good answer for similar question
Upvotes: 2