ResultSet.columnName() (Method)

Returns the name of the column with the specified index number.

Availability:

JavaScript - 1.2
Netscape Enterprise Server - 3.0
Property/method value type:String primitive
JavaScript syntax:NESmyResultSet.columnName(anIndex)
Argument list:anIndexA valid column number

If you are enumerating through the columns in the result set, this yields up the name of the indexed column. You may need to use this technique if you have a table structure that could change.