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 |
what is the difference between SENSITIVE and INSENSITIVE?
What is the difference between execute, executeQuery, executeUpdate?
Give an example for getXXX method?
What is device controller?
Give steps to connect to the db using jdbc?
State the three different ways in which you can create a table?
How do I set properties for a JDBC driver and where are the properties stored?
What is JDBC API and when do we use it?
How can I create a custom RowSetMetaData object from scratch?
What are the ddl statements?
What is jdbc and its advantages?
What is odbc and jdbc in dbms?