February 4, 2017 at 2:04 pm
HI all:
Thanks so much for all of your help;
Problem
The issue I had with extracting my data had to do with the name of my format file. I had a -c (tblCustodian-c.fmt) in the name. I think what was happening was that the BCP client couldn't open the format file because of the (-c) in the file name. The client wasn't sure whether to read "-c" as an argument....
Solution
I renamed the file to omit the -c and it worked perfectly. I was able to extract the data I needed as well as do an import of the data into the table I was working with.
Thanks again.
February 4, 2017 at 6:24 pm
smatu - Saturday, February 4, 2017 2:04 PMHI all:Thanks so much for all of your help;
Problem
The issue I had with extracting my data had to do with the name of my format file. I had a -c (tblCustodian-c.fmt) in the name. I think what was happening was that the BCP client couldn't open the format file because of the (-c) in the file name. The client wasn't sure whether to read "-c" as an argument....Solution
I renamed the file to omit the -c and it worked perfectly. I was able to extract the data I needed as well as do an import of the data into the table I was working with.Thanks again.
Thank you very much for the feedback. That is an odd problem, indeed. One possible way to get around the problem without having to rename the file would be to put double-quotes around the file. I've gotten into that habit whether it needs it or not.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2017 at 8:22 pm
Thank you Jeff.
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply