Rajesh, If you want the list of table names, then you can use the DatabaseMetaData interface. However, if you are asking about the getTableName method in the "ResultSetMetaData" interface, then, as far as I know, it is not implemented (although I understand that that there is a "request for enhancement" regarding its implementation). Good Luck, Avi.
Joined: Nov 02, 2003
hi avi, I found the method in api DatabaseMetaData and I dont know how to pass the parameters. If anybody knows the coding please help me. Regards Prakash
Wayne L Johnson
Joined: Sep 03, 2003
I assume that this is not for a homework assignment. For Oracle, where "dbmd" is the DatabaseMetaData instance: