database
Hi,
I'd like to include a database in my application, but i didn't like to depend of any database software, like access, sql server, mysql, etc.
Is there any way to do this?
I have read about Microsoft Jet. Is it the solution? Is there any examples?
Luciano
[293 byte] By [
losorio] at [2007-11-17 17:11:41]

# 2 Re: database
Jet is the db engine under MS Access, so to use Jet, you use Access.
If you need a relational db, you'll need Access or some other commercial product.
if you don't need a relational db, then just store your information in a flat file.
phinds at 2007-11-10 0:23:31 >

# 3 Re: database
Actually, that is what ActiveX Data Object (ADO) is for. ADO does not depend on what database at the backend as long as the appropriate driver is installed.
When you say, independent of DB, you basically have to code it so that your query and SQL operations are generic enough to work with all SQL compliant DBs. The drawback is you won't be able to use special features of the specific DB.
At run-time, of course you have to know which DB to connect to so that ADO knows which driver to load and use.
Good Luck,
-Cool Bizs