09-20-2012 07:35 AM
I need to import data from an XLS-document into DI Studio. I tried saving it as a CSV-file and importing it as a delimited external file, which worked well until I discovered that the CSV-file removes all unique Norwegian characters such as Æ, Ø, and Å. So, I figure I'll need to import the data directly from the XLS-file. Do you have any advice on how I might do this?
Thanks for your time.
09-22-2012 10:35 PM
The way as proposed in the link shivas posted would be the most direct way of doing things - but you need SAS/Access to PC files licensed.
In case you don't have this module licensed:
I just made a test with MS Excel 2010 under Win7: My encoding is English but the characters you mentioned are part of my "Character Map". I've added these characters to an Excel spreadsheet and then saved it as csv. The characters were still there. Just make sure you save as "CSV (Comma delimited)(*.csv)" and not as "CSV (MS-DOS)(*.csv)"
09-25-2012 04:57 AM
At work we have used the OLEDB library engine for xls and xlsx files. We don't set them as libraries however like the linked blog post. We script the connection in DI as a custom file. This has the advantage of not persisting the connection to the file while still maintaining a reference in Metadata for the object.