java fetching DataBase Column Comment -
i using jdbc want databse column comment, way fetch database column comment using resultsetmetadata not show option
you can info resultset metadata. see resultsetmetadata
e.g.
resultset rs = stmt.executequery("select a, b, c table2"); resultsetmetadata rsmd = rs.getmetadata(); string name = rsmd.getcolumnname(1);
and can column name there. if do
select x y table
then rsmd.getcolumnlabel() retrieved label name too. hope ....
Comments
Post a Comment