Migrating Clients
Go Up to Migrating to InterBase
It is good practice to recompile and relink the application and make note of field names, data type use, and so on in the new application. When you recompile, state the dialect explicitly:
SET SQL DIALECT n;
If you have databases that use any of the new 2020 keywords as object identifiers and you are not migrating those databases to dialect 3, you might consider not migrating any older version clients. If you migrate them to 2020 dialect 1, you lose the ability to access those keyword columns. See InterBase Keywords.
When you recompile an existing gpre
client, you must recompile it with the gpre -sql_dialect n
switch.
There are several paths that allow you to create dialect 3 clients that access all new InterBase features:
- In Delphi, make calls to functions in the InterBase Express (IBX) package.
- To write embedded SQL applications that address all InterBase 2020 dialect 3 functionality, compile them using
gpre
-sql_dialect 3
.
Client | How to migrate |
---|---|
Older applications such as InterBase version 5 applications |
|
isql |
-sql_dialect n
SET SQL DIALECT n; |
GPRE |
-sql_dialect n
EXEC SQL SET SQL DIALECT n; |
BDE |
All applications use SQL dialect 1. To access InterBase dialect 3 features from Delphi, use the IBX components. |
InterClient |
InterBase 6: All applications use SQL dialect 1. InterBase 7 introduced InterClient 3, which is a dialect 3 client. |
Direct API calls |
When you call isc_dsql_execute_immediate() ,
|