Answers for "how to check if something exists in an sql column java"

0

how to check if something exists in an sql column java

DatabaseMetaData md = connection.getMetaData();
ResultSet rs = md.getColumns(null, null, "table_name", "column_name");
 if (rs.next()) {
      //Column in table exist
    }
Posted by: Guest on September-11-2021

Code answers related to "how to check if something exists in an sql column java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language