how can we get the metaData (columnNames) from a table which
has no Records..
Answers were Sorted based on User's Feedback
Answer / 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 |
How can we set null value in jdbc preparedstatement?
commit() and rollback() methods are defined in which interface?
What do you mean by metadata and why we are using it?
what does the method Class.forName returns?
What are the different types of classes in the api component?
What is ojdbc?
Explain what should be done when a SQL exception is raised?
What is odbc. how is it related to sql cli?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
what is CallableStatement and what is its usage?
signature of init method?
How do I set properties for a JDBC driver and where are the properties stored?