The SQL Server Import/Export Wizard basically creates an SSIS package. It gives you the option to save that package, instead of running it.
An SSIS package is essentially a big XML file.
I would generate a package to move two tables, twice - once with the first table's timestamp column not set to "Ignore", and then with the first table's timestamp column set to "Ignore". Save both packages, open them in a text editor, and compare them. There will be a number of different ID value (from different runs of the process), but the only substantial difference should be the setting for the timestamp column.
Based on how that's different in the two files, make a copy of the second file, and try modifying the settings for the second table to ignore the timestamp column. Test run the file, to see if it works; if it does, generate the code for all the tables, and shift all the timestamp columns to "Ignore".
NOTE: I assume that there will be some easy way to identify the timestamp column in each table (maybe they're all conveniently named timestamp
), and that you can employ some sort of regular expression to find and replace all of them; otherwise, this would be about as painful as manually turning them off.
I'll admit, the couple of time I had to do this with a similar database (to copy all the data to the same data structure in an older version of SQL Server), I just went ahead and manually reset the values; it was annoying, but I had a good idea of the time involved, and anything else would have been likely to take longer.
bcp
can write to a file share which can point to another server (or even your computer) which you do have access to. Do you have the ability to runxp_cmdshell
on the source server?