Drop Table JDBC

Drop Table JDBC Following Drop Table JDBC code deletes the table Employee. All the records also deleted with the table. drop table SQL command is used. Example on Drop Table JDBC import java.sql.*; public class DeleteTable { public static void main(String args[]) throws Exception { // 3 standard JDBC statements as usual Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); Connection con=DriverManager.getConnection(“jdbc:odbc:snrao”,”scott”,”tiger”); …

Drop Table JDBC Read More »