skip to main content
Using DataDirect Test : DataDirect Test Tutorial : Updatable Result Sets : Updating a Row
 

Updating a Row

1. From the Connection window menu, select Connection / Create JDBC 4.0 Statement.
2. In the resultSetType field, select TYPE_SCROLL_SENSITIVE. In the resultSetConcurrency field, select CONCUR_UPDATABLE.
Click Submit; then, click Close.
3. Select Statement / Execute Stmt Query.
4. Specify the Select statement that you want to execute.
Click Submit; then, click Close.
5. Select Results / Inspect Results. The Inspect Result Set window is displayed.
6. Click Next. Current Row changes to 1.
7. In Set Cell Value, enter RALEIGH. Click Set Cell.
8. Click Update 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.
Click Submit; then, click Close.
11. The Connection window shows LOC for accounting changed from NEW YORK to RALEIGH.