Database options for Delphi hobbyist ?

Posted on 2014-03-17
Last Modified: 2014-03-25
Years ago, I  used to develop freeware programs using Delphi 5 for hobby / gaming use - little assorted database programs that stored assorted information about whatever hobby I had going at the time.

I'd write the program using Delphi 5 Professional and stored the data in Paradox tables.  When someone else wanted the program, they could install the BDE and download the program and data files and be away.

I bought a copy of Delphi XE3 a little while back and have thought about delving into this again - updating some of my old programs just for the sake of learning with the updated tools.

I want to be able to use standard SQL to query the database.

From the point of view of ease of redistribution (I know a few people who would use updated versions of the programs if I ever got around to updating them), what's the easiest DB software to deal with  ?  If someone wanted to play with the updated program, what's the easiest solution for someone else to install so they could use the program ?

The version of XE3 I have supports ODBC (and I think it even has support for some other databases, I think the version of XE3 I have is Enterprise or Ultimate, I'd have to check what it was I bought).

Have not toyed with Dephi much in years (still have Delphi 5 installed and when I need a quick programmatic solution for a problem I still use it) but figured I should use the newer version I went to all the trouble of buying rather than sticking with the old one :)

Thanks in advance for sharing your experiences.
Question by:Steve Wales
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +4
LVL 38

Accepted Solution

Geert Gruwez earned 100 total points
ID: 39934595
easy depends on what you want to do with it
but if you just need the odd table without wanting to bother about "a database engine" go with sqlite, it uses files for the data and the driver can be embedded in the exe.

and if you want ease of use as having unlimited query power (besides the limit of data size of 10gb) go with oracle express edition
LVL 46

Assisted Solution

aikimark earned 100 total points
ID: 39934623
It's hard to go wrong with Firebird or Interbase.  I spoke with a client running a Delphi app that uses Firebird and there haven't been any problems with either the software or the database for over four years.  These databases remind me of the Ronco Rotisserie -- Set it and forget it.

If you are going to put this data onto a client's machine, the low maintenance and administration requirements make Firebird and Interbase quite attractive for small software developers.
LVL 22

Author Comment

by:Steve Wales
ID: 39934644
Definitely no commercial usage - and as an Oracle professional, Oracle XE is certainly appealing personally, but installation and configuration of Oracle for someone else to use and maintain is probably more trouble than it's worth.

I will definitely look into the other three options presented though.  Thanks!
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 22

Author Comment

by:Steve Wales
ID: 39934841
Actually, I will throw one other question out related to this.

Do any of the above offer the equivalent to a formatted memo that Paradox had ?  One of the columns in the application I plan on trying to upgrade contained bolded or italicized text at times.
LVL 46

Expert Comment

ID: 39935166
You can store large strings in a Text or nText column in Firebird.  If you limit the length below that, you have a few more variable length character fields from which to choose.  You can store HTML in the field and render the formatted text in a tHTMLviewer component (or equivalent).
LVL 27

Assisted Solution

by:Sinisa Vuk
Sinisa Vuk earned 100 total points
ID: 39935300
Delphi + MS Access database + Ado components for me is easiest solution and very "native", works out of box as is, no bde, no odbc. you don't need ms access installed - there are few freeware tools to create/manage database.
LVL 38

Expert Comment

by:Geert Gruwez
ID: 39935353
formatted memo ?

i use synedit to display formatted text, the database in this case doesn't matter

Expert Comment

ID: 39936208
I've been using embedded Firebird in my hobby project and that works great. The nice thing of firebird embedded is that it can also connect to a server, which makes it very flexible. Most of my users are parents and not aware that they are using a database except for a few system administrators which have installed it in schools and other institutions.
I'm using Unified InterBase to talk to firebird:
LVL 24

Assisted Solution

jimyX earned 100 total points
ID: 39936559
I suggest AbsoluteDB. It's the perfect replacement for BDE.

You may read these articles for additional information.
LVL 19

Assisted Solution

Thommy earned 100 total points
ID: 39939177
I also recommend using SQLite.

Delphi XE3 Architect, Ultimate and Enterprise even provide direct support for SQLite databases.  Just place a TSQLConnection on your form and set property driver to Sqlite

Please have a look a below video tutorial...
Using a SQLite database in VCL and FMX apps
LVL 22

Author Closing Comment

by:Steve Wales
ID: 39954605
Thanks for all for the input.  Started playing with SQLite.  We'll see how that goes.

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question