Home » Developer & Programmer » JDeveloper, Java & XML » How to list all fields in JDBC?
How to list all fields in JDBC? [message #91043] Tue, 05 March 2002 05:55 Go to next message
Chen Wen
Messages: 26
Registered: February 2002
Junior Member
Hi,
How to list all fields in one table in JDBC?
Thanks.
Re: How to list all fields in JDBC? [message #91079 is a reply to message #91043] Wed, 27 March 2002 02:26 Go to previous message
Christine
Messages: 18
Registered: March 2002
Junior Member
Hi!
Use ResultSetMetaData to get every information available about the database table.
...
ResultSet rs = query.executeQuery();
ResultSetMetaData rsmd = rs.getMetaData();
...

Hope it helps
Christine
Previous Topic: hai.
Next Topic: Re: Connect to ORACLE via JDBC
Goto Forum:
  


Current Time: Wed Jul 28 20:47:22 CDT 2021