Basically, it doesn't accept any row delimiter that I give it, giving an error "Row Delimiter Not Found". But I can open it in Notepad.
I have imported regular csv files into SQL server before this, but this one is strange. By default it opens in excel and not Notepad. If I save it as a comma delimited csv file within excel then SQL Server accepts it. But I can't do that manual, I want it to be automated DTS import.
Have you tried selecting different row delimiters in the DTS Import Wizard? The default is {CR}{LF}. I would try {CR}. That is very commonly used as a row delimiter. Terry
I have tried all the row delimiters without any luck. The only thing I can think of now is to write a program to read this file and save it as a plain text file and then import this to SQL Server.
Thanks for your time and help. And if you come across a similar file and find a solution please post it here.
I import CSV files saved from Excel (as CSV) every day. There must be something else to this puzzle. If the data is not sensitive, could you post a couple of lines of it? Robert Bradley
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.