Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Convert MDB File To Txt File

by jZed (Prior)
on Apr 28, 2005 at 04:59 UTC ( #452218=note: print w/replies, xml ) Need Help??

in reply to Convert MDB File To Txt File

Well, I think Access can export to CSV so that's the easiest. If you don't have access to Access, you use DBI with DBD::ODBC to read the .mdb and DBD::CSV to write out the .txt file.

Replies are listed 'Best First'.
Re^2: Convert MDB File To Txt File
by gopalr (Priest) on Apr 28, 2005 at 06:11 UTC

    Let me know how do you convert without "Access"..


      You should take a look at MDB Tools.

      Not entirely without problems, it's reliable enough that I use it in an ongoing project that I have to keep an eye on anyway. You can backtick to the command line utilities or use a GUI thingy. Looks like something that would benefit from having a Perl module in front of it...


      I just discovered this one:, which is available on both windows and *nix, apparently has an experimental .mdb reader and it can write in many formats.

      Did you read the second sentence of my reply? It specifies what to do if you don't have Access. Did you follow the links in that second sentence? They go to the documentation for the modules that will help you do what you want. Did you read that documentation and get stuck? If so, tell us what part you're stuck on and we'll be glad to help. You also need to tell us what OS you are using since the specifics of the answer differ depending on whether you are on windows or not.
Re^2: Convert MDB File To Txt File
by Anonymous Monk on Apr 28, 2005 at 06:26 UTC

    Can you give Some Sample Coding.. It Would be very better to develop further.. Thanks You!!

      What have you tried so far?
      I don't think anyone is going to write your code without any effort from you

      "We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://452218]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2020-03-28 19:00 GMT
Find Nodes?
    Voting Booth?
    To "Disagree to disagree" means to:

    Results (167 votes). Check out past polls.