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
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
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
Viewing 3 posts - 1 through 3 (of 3 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy