Posted by erucevice on 01/04/07 14:30
I am trying to bcp a text file that is written out of a Java
application. The text file has important order information that I need
to bcp into a SQL Server 2000 database. The problem is that when
records are written out by the Java application the last item in each
record has a new line character attached to it so that a new line is
started for the next record. BCP gives me an error and doesn't import
anything if there is this blank line at the end of my text file. If I
delete the last blank line then my text file imports without any
issues. Anyone have any ideas how I can fix this issue?
Thanks,
Eric
Navigation:
[Reply to this message]
|