I\'m trying to return a value from a select statement. Its only one value because the value I\'m returning is from the primary key column.
The SQL statement is
change it to
if(rs.next())
and
rs.getString("itemNo");
works !!!