I currently maintain a fairly large networked Delphi application using
Paradox files. However with about 20 tables linked in a fairly complex
master detail arrangement, about 3,000 records being added per month, (one
of the master tables currently has about 16,000 records in it) and several
queries involving multiple tables, performance is pretty dreadful.
As a result I am wanting to move the application to an SQL database. I
currently have a Linux server with PostgreSQL, and an NT Small Business
Server with MS SQL 7. Does anyone have any experience using Delphi (I have
Professional V4, BDE 5.01) to access these database systems, and are there
any tricks or serious code modifications involved when converting from
paradox to a C/S database.
Using the PostgreSQL ODBC link, I have managed to create a very simple one
table application that is working ok. I haven't yet managed to get anything
to communicate with the MS SQL server though - the best I can achieve is a
connection but any type of SQL query (such as CREATE TABLE) fails with
syntax errors, even though I have followed the MS documentation to the
letter.
Some of the features I need the database to be able to do include:
An equivalent of the Paradox Memo field for storing variable length text.
Referential integrity
Default values
Reliable - able to withstand a client dying with open tables (something
Paradox can't do)
and of course, it must be reasonably quick.
If at all possible, I would like to be able to have pretty much the same
code also be able to access Paradox files, as we may be deploying some
standalone versions to run on laptops, that won't have permanent access to
the main servers: As a batch process at night, the main database gets
transferred to the laptops, so that they can access the same data off-line
the next day.
Thanks in advance for any information that may be of assistance.
Regards,
Graham Fountain.
PS: I don't mind if replies are sent to my email: grah...@myall.net