i have another exception the exception says
(could not find output table 'cust')
why is this?
my code is below
thanks ben
import java.sql.*;
class JD {
public static void main (
String[] args) {
String data = "jdbc
dbc:World Energy";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection(data,"","");
Statement st = conn.createStatement();
st.executeUpdate("INSERT INTO Cust ([first name], [last name])" +
"VALUES ('dave', 'peters')");
conn.close();
} catch (Exception e) {
System.err.println("Got an exception! ");
System.err.println(e.getMessage());
}
}
}