Viewing 4 posts - 1 through 4 (of 4 total)
Hello,
I have successfully done what I wanted to do with the Format File.
My Table had 3 fileds. IDENTITY, code and description.
The CSV file had two fields, code and description.
Here is...
April 19, 2004 at 3:23 am
Thank you very much for the link.
I had been working on another solution using views.
Here is my script.
create view v
as
select code, description from Category
go
master..xp_cmdshell 'bcp tempDB..v in c:\crimcode.csv...
April 16, 2004 at 10:09 am
Thank you very much for the reply. But how do I use a format file in Bulk Insert? Searching for BOL did not give any results in SQL Server help.
Really...
April 16, 2004 at 8:29 am
Hello,
I have the same problem at my end where I need to bulk upload into a table with an IDENTITY.
I can see both the solutions you guys are suggesting.
1....
April 16, 2004 at 4:04 am
Viewing 4 posts - 1 through 4 (of 4 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