A
Arnold Peters
As well known I can retrieve the column names by a java code similar to the one below.
But how do I put the column names into the database which I retrieve later?
There is no function like putColumnName()
ResultSetMetaData rsmd = rs.getMetaData();
int maxcol = rsmd.getColumnCount();
for(int col=1; col<=maxcol; col++)
System.out.println(rsmd.getColumnName(col));
Arni
But how do I put the column names into the database which I retrieve later?
There is no function like putColumnName()
ResultSetMetaData rsmd = rs.getMetaData();
int maxcol = rsmd.getColumnCount();
for(int col=1; col<=maxcol; col++)
System.out.println(rsmd.getColumnName(col));
Arni