Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

How to identify .DB file

  • 25-10-2005 11:18am
    #1
    Registered Users, Registered Users 2 Posts: 38


    Hi all

    I have recently been asked to extract information from a .db file supplied to me. My problem is that I have not been given any details about the type of database!!!

    Is there any way of identifying what the type of database is from the db file I have. Is there some sort of header detail that can be used?

    HELP!!!!


Comments

  • Moderators, Society & Culture Moderators Posts: 9,689 Mod ✭✭✭✭stevenmu


    There's a list of possibles here. Your best bet is to talk to whoever you got the .db file and find out where it came from and what it's used for. Also look for other files that were in the same folder, and a list of software installed on the machine it was on.


  • Registered Users, Registered Users 2 Posts: 38 mickh


    Thanks for the heads up Stevenmu, but I had thought of trying that avenue already.

    Waiting to hear about the engine from our client. Thought I might try to jump the gun!!


  • Closed Accounts Posts: 324 ✭✭madramor




  • Registered Users, Registered Users 2 Posts: 3,744 ✭✭✭deRanged


    If you're on unix it's most likely a Berkely DB file as madramor said.

    You'd get that on windows too - in the mozilla cert database (cert7.db) for example.


  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    Is there some sort of header detail that can be used?
    In theory, the first 2-4 bytes of a file should serve as an identifier for the type of file it is. For example, the first two bytes of a Zip-file encoded using the PK-Zip standard should always be 'PK'.

    Google for "file magic number" for more info.

    If that doesn't work, then have a quick squint into the file and see if it has anything more useful in there. F'r example, bytes 7-10 in a JPEG file should always contain the text JFIF.

    And so on.

    If none of that helps you....windows will try identifying the file-type over the internet if you let it, or you can just use trial-and-error on the possibilities, or you can ask whoever supplied the file (as already suggested)

    jc


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 330 ✭✭leahcim


    I have worked with paradox database files in the past and they use the
    .db file extention.

    If it is you could use ODBC (or ADO) to get access to its data.


Advertisement