4D v14External connections |
||
|
4D v14
External connections
External connections
4D allows you to use external databases, in other words to execute SQL queries on databases other than the local one. To do this, you can connect to any external data source via ODBC or directly to other 4D databases.
The example below shows how to connect to an external data source (ORACLE), how to get data from the ORACLE database, and then how to disconnect from the ORACLE database and return to the local database. ARRAY TEXT(aDSN;0) To test the above example, in the main window of the "4D SQL Code Samples" database, press the Connect to ORACLE button. |
PROPERTIES
Product: 4D ARTICLE USAGE
4D SQL Reference ( 4D v14) Inherited from : External connections ( 4D v11 SQL Release 4 ) |