Example of an Interactive SQL Session
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
The following example assumes an OpenAccess SDK Server is running on a host mysdkserver at port 19986 and is configured with the Default server data source.
-
Start the ISQL tool. Do one of the following:
a. On Windows, select Progress DataDirect OpenAccess Client for ADO SDK 8.1 / Interactive SQL (OLE DB).
b. From a command prompt set to the installation subdirectory, type odedbisql.exe.
The Interactive SQL prompt appears.
-
From the Interactive SQL prompt, type:
CONNECT -
The Data Link Properties dialog box appears.
-
From the Data Link Properties dialog box, select DataDirect OpenAccess SDK for ADO 8.1 Provider and then click Next.
-
Click the All tab and edit the Extended Properties attribute to the string to specify the host, port and the ServerDataSource. For example, type:
host=mysdkserver;port=19986;ServerDataSource=Default; -
Click the Connection tab. Provide the following information:
Data Source: Type the name of a data source (see Creating an ADO Client Data Source).
User name: Type the user name.
Password: Type the password.
-
Select Test Connection.
-
Click OK to return to the ISQL prompt.
-
From the Interactive SQL prompt, enter in a SQL query. For example, type:
SELECT \* FROM emp; -
From the Interactive SQL prompt, type:
EXIT