62,628
社区成员
发帖
与我相关
我的任务
分享
String SQL = "INSERT INTO Patient"
+ "VALUES"
+ "(?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
String url = "jdbc:odbc:hosiptal";
Connection conn;
PreparedStatement sql;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException x) {
// TODO: handle exception
}
try {
?
} catch (SQLException y) {
}