I needed to do the same, and my colleague noted that you can use the -E switch on BCP for this.
From the documents ...
"- E Indicates that the identification value or values ββin the imported data file should be used for the identity column. If -E is not specified, the identifier values ββfor this column in the imported data file are ignored."
It works, thanks Yang!
Simon
source share