PrepAway - Latest Free Exam Questions & Answers

Category: 1D0-442

Exam 1D0-442: CIW Enterprise Specialist

WHERE ID = ?

Consider the following statement:
prepStmt = dbConn.prepareStatement (“DELETE
FROM MyTable
WHERE ID = ?”);
The prepStmt member is of type PreparedStatement. The dbConn member is of type Connection
and represents a connection to a database. The ID column is an int data type. The value for the ?
placeholder in the SQL statement is held by a member variable named id. The id member’s value
was acquired via a getPhmaryKey() method. Which of the following statements would properly
execute the statement given in this question?


Page 5 of 13« First...34567...10...Last »