Executing a Simple Select Statement
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This example explains how to execute a simple Select statement and retrieve the results.
-
From the Connection window menu, select Connection / Create Statement. The connection window indicates that the creation of the statement was successful.
-
Select Statement / Execute Stmt Query. DataDirect Test displays a dialog box that prompts for a SQL statement.
-
Specify the Select statement that you want to execute.

Click Submit; then, click Close.
-
Select Results / Show All Results. The data from your result set is displayed.

-
Scroll through the code in the Java Code scroll box to see which JDBC calls have been implemented by DataDirect Test.