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

How many categories of jdbc drivers are there?

0 Answers  


What is database deadlock ? How can we avoid them?

0 Answers  


What is jsp and jdbc?

0 Answers  


How can you use preparedstatement in jdbc?

0 Answers  


What is meant by connection string?

0 Answers  


How to set NULL values in JDBC PreparedStatement?

0 Answers  


What is JDBC Transaction Management and why do we need it?

0 Answers  


Name the types of jdbc drivers.

0 Answers  


Why jdbc is used in java?

0 Answers  


How to check null value in JDBC?

1 Answers   CTS,


Name different methods for getting streams.

0 Answers  


What is difference between jdbc and odbc?

0 Answers  


Categories