I have a very large table that is created programmatically, and needs to be shipped to be added to a SQL Server database at a remote site.
What is the best way to do this?
The table may contain hundreds of thousands of pretty short records, and its contents need to be added to an existing table.
I would bulkcopy the data, zip it if necessary – and insert it with bulkcopy at the destination. This should require absolutely nothing extra at the destination site – and if the recieving party can’t be trusted to run a bulkcopy in a command-line, a simple .NET executable could be written to do the job.