January 23, 2002 at 5:57 pm
For some reason, the DTS script I created in SQL 2000 can not be configured to skip the first record. How can I insure that a <LF> or <CR> is present?
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 24, 2002 at 9:53 am
Not sure I understand. If there is not EOL marker, how can SQL fix this?
You could use an ActiveX script to check the first character of the file for a EOL, but it wouldn't help ensure the first line was skipped. This is a source issue.
I'd import the whole thing and then look at the first row to check if it needs to be deleted.
Steve Jones
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
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