smitha wrote:
> &nb sp; String query1 = "CREATE user " + logName + " with password '"
> + passwd + "' createuser";
> ResultSet rs= st.executeQuery(query1);
CREATE USER does not return a resultset, so you should use
executeUpdate() or execute(), not executeQuery(). See the JDBC javadoc.
-O