There are many solutions, depending on the database you are using and which OS you are using. One solution that provides broad access to an array of combinations will be ODBC. You must connect to the database using the SQLConnect function and use other API functions to fulfill your queries.
The connections are specific to Windows, but you can find analogues for any OS that you will use on your side.
source
share