simonfisher
Programmer
Hi,
I keep getting an SQL Exception when the following query is executed but no rows are returned.
Connection Conn =getConnection "jdbc:mysql://localhost/test?user=abc"
Statement stmt = Conn.createStatement();
rs = stmt.executeQuery(Some query);
rs.next();
ErrMessage = rs.getString("Error_Msg"
rs.close();
stmt.close();
Conn.close();
I keep getting an SQL Exception when the following query is executed but no rows are returned.
Connection Conn =getConnection "jdbc:mysql://localhost/test?user=abc"
Statement stmt = Conn.createStatement();
rs = stmt.executeQuery(Some query);
rs.next();
ErrMessage = rs.getString("Error_Msg"
rs.close();
stmt.close();
Conn.close();