PrepAway - Latest Free Exam Questions & Answers

Category: 1D0-442

Exam 1D0-442: CIW Enterprise Specialist

Consider the following statement: prepStmt = dbConn.prepareStatement ("INSERT INTO MyTable (ID, FSTNAME,

Consider the following statement:
prepStmt = dbConn.prepareStatement (“INSERT
INTO MyTable
(ID, FSTNAME, LSTNAME
VALUES (?,?,?)”);
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 FSTNAME and
LSTNAME columns are VARCHAR data types. The value for the ? placeholders in the SQL
statement are held by member variables named id, fstName and IstName respectively. Which of
the following statements would properly execute the statement given in this question?


Page 3 of 1312345...10...Last »