Which is the best desktop, file-based database other than MS Access ?

I am looking for an alternative to Microsoft Access, which i can use for my VB projects. It should be file-based, i.e. ship a single database file with your application and it should work on the client's machine without requiring the client to setup a database.

I need an alternative to Microsoft Access which is fully SQL-92 standard compliant. MS Access has some strange differences from the SQL-92 standard which I dont like.
LVL 1
rajesh_khaterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh RetnakaranDatabase AdministratorCommented:
No, there isn't anything much like this.

Microsoft Access and dBase have really severe scaling problems because
coordinating access within the files doesn't work well for more than a
few users.


Anyone that did serious multiuser work with dBase, ten years ago,
could tell you that the approach you're trying to take is a mistake.
Doing things "file-based" means that:
  a) Scalability suffers, because every process has to do a lot of
     work managing locks;
  b) Reliability suffers, because any user can go and trample on
     the data.


What /makes sense/ for a multi-user database system is for the system
to have a central process that is the "gatekeeper," and for multiple
users to /absolutely not/ have access to the files.  And that's where
you get into something like PostgreSQL or Interbase or Firebird or
SAP-DB or such, where they can promise /massively/ greater reliability
because individual users /don't/ write to the files directly.
0
rajesh_khaterAuthor Commented:
I am looking to write only single-user applications. So those scalability concerns dont apply to me.

0
Aneesh RetnakaranDatabase AdministratorCommented:
In such case you can go for any of the above, but i prefer you to use MSAccess
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

NavicertsCommented:
I have had a similar problem, mine involved trying to load data and work from a local database because the user only had a dial up connection that connects at like 24.4.  MSAccess is what i ended up using, didnt see any other single file db's.  An alternative is having the user install the MSDE db or even MySQL on thier machine. Sorry!
0
NicoLaanCommented:
Is a folder DB also ok?
i.e. 1 folder with 1 file for each table.
I used this to make an app in Delphi. No installation, just the .exe and the .dbf's.
Depending on acces method and language used maybe setting up ODBC or JDBC for Java apps.
0
pootle_flumpCommented:
You can specify that Access use ANSI 92 syntax (Tools-> Options -> Tables\ Queries) in XP + (maybe 2k too).
0
gabesoSolution ArchitectCommented:
Use SQLite - it is available as a dll and the whole database is a single file. It is also very fast and robust.

Look at this site:
http://www.sqlite.org

And at this example:
http://www.freevbcode.com/ShowCode.asp?ID=6893
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SStoryCommented:
Don't forget SQL Server 2005 which is free, but you would have to install it.  Maybe there is a silent install for the setup.

For a single use application, Access seem great to me.

Haven't used it, but:

http://www.vistadb.net/overview.asp

HTH
0
rajesh_khaterAuthor Commented:
>> Is a folder DB also ok?

Yes, that is fine. Can you tell me which db you are talking about.


>> You can specify that Access use ANSI 92 syntax (Tools-> Options -> Tables\ Queries) in XP + (maybe 2k too).

Really ?? Is Access fully SQL-92 compliant ? Can I port the same code later on to SQL Server or Oracle without any changes to SQL queries ? Please tell me more about it.

>> Use SQLite - it is available as a dll and the whole database is a single file. It is also very fast and robust.

I will read about it and get back to you.
0
NavicertsCommented:
I formally support rajesh_khater and his/her tendency to distribute inflated points.
0
bdsmithbackCommented:
I agree with gabeso.  SQLite is the way to go.
0
Arthur_WoodCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Accept - gabeso {http:#16489359}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Arthur_Wood
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.