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..

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the common tasks of JDBC?

1043


How can I get information about foreign keys used in a table?

1006


What is an advantage of using the jdbc connection pool?

929


How can I manage special characters when I execute an insert query?

987


What is xe in oracle jdbc url?

1148


What is the major difference between java.util.date and java.sql.date data type?

1022


If you are truncated using JDBC, how can you that how much data is truncated?

1103


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

1229


What is jdbc odbc in java?

1172


What is database connection pooling? Advantages of using a connection pool?

1097


How does a custom RowSetReader get called from a CachedRowSet?

1138


How does jdbc work?

925


Explain Basic Steps in Writing a Java Program Using Jdbc?

1108


What are types of resultset?

1026


Is uri the same as url?

938