Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to find the size of table in java

public int f()
{
   ResultSet rs;
   int i;
   String query = "select count(*) tables from users";
   Statement st = this.con.createStatement();     //error
   rs = st.executeQuery(query);                   //error
   if(rs.next())                       //error
   {                   //error
    i = rs.getInt(1);                     //error
   }
  return i;    //error
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #size #table #java
ADD COMMENT
Topic
Name
4+2 =