Getting field Definition of a Ms-Access table
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, September 27, 2005 05:34 AM

Hi,
I am working on Java and Ms-Access. I have to pick up the column definition of a Ms-Access table into a resultset. Please let me know the query ,how to fetch the column names from a MS-Access table using Java.

Looking forward for an early resoution


Narayanan

Re: Getting field Definition of a Ms-Access table

Posted By:   WarnerJan_Veldhuis  
Posted On:   Tuesday, September 27, 2005 09:21 AM

Ask the connection for DatabaseMetaData:

Connection conn = manager.getConnection();
DatabaseMetaData meta = conn.getMetaData();

Check the docs from here...
About | Sitemap | Contact