how can we get the metaData (columnNames) from a table which
has no Records..
Answer Posted / sreenivas
Hi,
You can use DatabasrMetaData class to get the databse
information like... schenmaname, tables, columnnames,
etc....
DatabaseMetaData metaData = new DBConnection().getMetaData
();
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the common tasks of JDBC?
How can I get information about foreign keys used in a table?
What is an advantage of using the jdbc connection pool?
How can I manage special characters when I execute an insert query?
What is xe in oracle jdbc url?
What is the major difference between java.util.date and java.sql.date data type?
If you are truncated using JDBC, how can you that how much data is truncated?
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
What is jdbc odbc in java?
What is database connection pooling? Advantages of using a connection pool?
How does a custom RowSetReader get called from a CachedRowSet?
How does jdbc work?
Explain Basic Steps in Writing a Java Program Using Jdbc?
What are types of resultset?
Is uri the same as url?