DATA Step, Macro, Functions and more

Accessing MICROSOFT ACCESS through SAS

Posts: 73

Accessing MICROSOFT ACCESS through SAS

Dear All,


I just have one question in general. Can i read in a access file in SAS while I don't have MICROSOFT ACCESS  installed?

I tried using libname satement and import, neither worked.


Thank you!


Best wishes.

Super User
Posts: 17,868

Re: Accessing MICROSOFT ACCESS through SAS

AFAIK you don't need Access to read an Access DB.

Post the code you've tried and the errors you've received.

Super User
Super User
Posts: 7,407

Re: Accessing MICROSOFT ACCESS through SAS

Right, this is something I have been trying recently.  You need something available to read it, be that the Office suite, ACE ODBC driver, PCFiles Server etc.  If the file is old, MDB then its even more of a pain, bit incompatabilities etc.  We had to get an old version of Access and upgrade the version of those files.  Simply put, if you use M$ products you are tied into their software.  A final option, you could look at OpenOffice, LibreOffice, they tend to have parsers that can read files from Office.  Don't know how good they are for Access.  


There is however one other option that I found, its called youaccess, a command line tool which can dump the data out from MDB files to CSV:

It doesn't get the metadata (i.e. the structure of the data) as that is held very awkwardly in MDB, however you can get the data out.

Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation