Home

Delphi and databases - an overview

1. Introduction

One of the most powerful features of Delphi is the way you can work with databases.
Delphi offers (certainly version 5) many way's to write complex database applications.
This papers shows in general the possibility's.
Many subjects will be discussed in detail in following papers.


2. The ways to get connect to a database

In the first releases of Delphi was connecting to a database not possible without the BDE.
The Borland Database Engine is an application which is positioned between the application and the database.
The main goal of the BDE is to establish the connection between the application and the data. The database engine also
deals with the database  transactions.


Through the BDE you can establish a connection on the following manners :

In a client server environment will the communication be like shown below, starting with the application :

Application  > BDE > SQL Links > Vendor client > TCP/IP -----network----- TCP/IP > RDBMS (Relational DataBaseManagement System)

Besides Delphi offers since version 3 the possibility to skip the BDE.
The component ClientDataSet provides acces through OLE server techniques.

Since version 5 there are two ways (without use of the BDE) solutions :

Click here for the next paper of this tutorial : Delphi - database components

arrows.gif (215 bytes)Top