Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

determining .db file type

by dannoura (Pilgrim)
on Jun 17, 2005 at 14:16 UTC ( #467735=perlquestion: print w/replies, xml ) Need Help??
dannoura has asked for the wisdom of the Perl Monks concerning the following question:


I just got a disc with a lot of information about patents. The info is stored in lots of .dbo and .db files. I want to be able to write a script which will parse them, but I've no idea where to start. I'm assuming these files are in some sort of database format but I don't know which one. Is there any way to find out (other than contacting the supplier, which will be very time consuming)?

Replies are listed 'Best First'.
Re: determining .db file type
by dorward (Curate) on Jun 17, 2005 at 14:27 UTC
Re: determining .db file type
by jZed (Prior) on Jun 17, 2005 at 14:55 UTC

    The best way to know what type of data is in a file is to find out from the person or persons who created the file. In your case, since you got the file from the U.S. patent office, you should search the FAQs on their site to find out the format of the discs they supply and/or download and use the software that they supply to search the discs.

    The second best way is to use the kind of format-snooping programs recommended by dorward.

    The third best way is to use an online file format resource like this file extensions list. That list shows .dbo as a compiled dBase IV format. The problem with lists that name extensions is that more than one program can create extensions so you can't always trust the answer.

    Unrelated to your question: do you have a good reason for searching the patents database? Do you know that searching it might actually harm your ability to protect a potential patent? If your interest is in protecting some invention, do yourself a favor and talk to a patents attorney.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://467735]
Approved by dorward
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2018-03-18 03:13 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (228 votes). Check out past polls.