Viewing 3 posts - 1 through 3 (of 3 total)
I worked it out...
1. Create temporary table
2. Bulk insert to temp table from file
3. Change FK values
4. Insert contents of temp table into real table
5. Drop temp table
Seems to work...
July 11, 2006 at 8:53 am
#648496
Nice one bro. That worked a treat!
I understand about the 150 values but why is the length of the int not...
June 22, 2006 at 7:03 am
#645235
Cheers Andy, that did the trick. Here is the command string I ended up using...
bcp {dbname}.dbo.tblUsers out c:\data.csv -S{Server/instance} -U{uname} -P{pword} -w -t,...
June 22, 2006 at 3:50 am
#645211