Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we get the metaData (columnNames) from a table which
has no Records..

Answers were Sorted based on User's Feedback



how can we get the metaData (columnNames) from a table which has no Records....

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 get the metaData (columnNames) from a table which has no Records....

Answer / srinivas

we get it from ResultSetMetaData

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More JDBC Interview Questions

What is resultset?

0 Answers  


When do we get java.sql.SQLException: No suitable driver found?

0 Answers  


What type of drivers have you used?

1 Answers  


Explain the locking system in jdbc & its types?

0 Answers  


What are types of jdbc drivers?

0 Answers  


What is the latest version of JDBC? What new features are added?

4 Answers  


What is jdbc oracle thin?

0 Answers  


What is jdbc driver for sql server?

0 Answers  


What is jdbc and explain jdbc architecture?

0 Answers  


Different statements in JDBC?

3 Answers  


How can we store the file in the oracle database?

0 Answers  


What is 2-tier and 3-tier architecture?

1 Answers   TCS,


Categories