suppose i only know the name of a table, know nothing about its schema, then the way to retrieve details would be select * from table-name .
from the resultset and resultsetmetadata class, i can get some info about the columns.
my question is how to know which column holds the primary key? the resultset and resultsetmetadata do not contain api for finding primary key.
any kind soul pls advise
from the resultset and resultsetmetadata class, i can get some info about the columns.
my question is how to know which column holds the primary key? the resultset and resultsetmetadata do not contain api for finding primary key.
any kind soul pls advise