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 does setautocommit do?

0 Answers  


What happens if connection is not closed in jdbc?

0 Answers  


Is JDBC a language or Application?

3 Answers  


What is jdbc explain?

0 Answers  


How do I load a database driver with JDBC 4.0 / Java 6?

0 Answers  


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

0 Answers  


How to move the cursor in scrollable resultset ?

0 Answers  


Difference between Dirty, commited ,phantom,repeatable reads?

3 Answers  


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

0 Answers  


Write a program JDBCcode forfetching student database with SQL.

0 Answers  


Hi to all.. well i want to make a standalone application which can use the concept of connection pooling, constraint is that i have not to use any application server like weblogic etc. Please help me out. Thaks in advance.

3 Answers   Huawei,


What are the measures to connect to the db using jdbc?

0 Answers  


Categories