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

Explain jdbc savepoint?

0 Answers  


Explain about Join?

0 Answers  


how can we connect to db without using getConnection() method

4 Answers  


What is connection pooling and why it is used?

0 Answers  


Difference between servlet and applet method?

3 Answers  


Why are we using blob datatypes in jdbc?

0 Answers  


What are JDBC Best Practices?

0 Answers  


What causes no suitable driver error?

0 Answers  


How do I insert an image file (or other raw data) into a database?

0 Answers  


What is resultsetmetadata?

0 Answers  


Is uri the same as url?

0 Answers  


How to get the data from a table into a buffer?

2 Answers  


Categories