joost aa8fdd44e4 + added several tests %!s(int64=19) %!d(string=hai) anos
..
alisttables.pp d1f1e5adf4 + added support for MySQL 5.0 %!s(int64=20) %!d(string=hai) anos
bcreatetable.pp 3753c9414c + implemented TOracleConnection %!s(int64=19) %!d(string=hai) anos
cfilltable.pp 3753c9414c + implemented TOracleConnection %!s(int64=19) %!d(string=hai) anos
database.ini aa8fdd44e4 + added several tests %!s(int64=19) %!d(string=hai) anos
dshowtable.pp 9b5cf2eeab + added SQLDB support for MySQL v4.0 and v4.1 %!s(int64=20) %!d(string=hai) anos
efilltableparams.pp 3753c9414c + implemented TOracleConnection %!s(int64=19) %!d(string=hai) anos
fedittable.pp 772c36ae7a - Fix for TParam.SetDataType %!s(int64=19) %!d(string=hai) anos
gfiltertable.pp c2e6eb65d1 + tablename must be in capitals %!s(int64=19) %!d(string=hai) anos
readme.txt fb32bf2cd5 - Initial implementation of several SQLdb examples and tests %!s(int64=20) %!d(string=hai) anos
sqldbexampleunit.pp 3753c9414c + implemented TOracleConnection %!s(int64=19) %!d(string=hai) anos

readme.txt


In this directory you can find some examples for SQLdb. They can also be used
to test functionality and new connections.

To use these examples you need a working login to a DB-Server and have the
appropiate client installed. You have to change 'database.ini' to work with the
right database-engine and login-credentials.

You can check if everything works fine by compiling & running 'alisttables'. If
everything works well, you'll get a list of all tables in the database provided
in database.ini.

I suggest to compile and run the examples in this order:

alisttables.pp - shows all tables in the current database
bcreatetable.pp - creates the 'fpdev' table, if it doesn't exist already
cfilltable.pp - populates the fpdev table with one record
dshowtable.pp - shows all records in the fpdev table
efilltableparams.pp - add more entries to fpdev, first with and then without
using parameters (use dshowtable again to see the results)
fedittable - edits the first record, and adds another one, without
using update/insert-queries. (dshowtable to see results)
gfiltertable - shows how to use filtering

As you can see all programs start with a letter in alphabetical order.

I think that these examples could be used to write some sort of SQLdb tutorial,
but i don't have time to do that myself. So if someone is interested... Be my
guest.


Joost van der Sluis, 26-sept-2005