skip to main content
About the Driver : Using the driver : DataDirect Test : DataDirect Test tutorial : Updatable result sets : Deleting a row
  

Try DataDirect Drivers Now
Deleting a row
1. From the Connection window menu, select Connection / Create JDBC 2.0 Statement.
2. Complete the following fields:
a. In the resultSetType field, select TYPE_SCROLL_SENSITIVE.
b. In the resultSetConcurrency field, select CONCUR_UPDATABLE.
Get JDBC 2.0 Statement Properties window
3. Click Submit; then, click Close.
4. Select Statement / Execute Stmt Query.
5. Specify the Select statement and click Submit. Then, click Close.
Execute SQL Query window
6. Select Results / Inspect Results. The Inspect Result Set window appears.
Inspect Result Set window
7. Click Next. Current Row changes to 1.
8. Click Delete Row.
9. To verify the result, return to the Connection menu and select Connection / Load and Go. The Get Load And Go SQL window appears.
10. Specify the statement that you want to execute and click Submit. Then, click Close.
Get Load And Go window with SQL statement
11. The Connection window shows that the row has been deleted.
Connection window with table