The SqlHandle class / base.SqlHandle methods |
Returns the name of a column in the result set produced by the SQL statement.
getResultName( index INTEGER ) RETURNING name STRING
Call the getResultName() method to query the name of a column in the result set, after executing the SQL statement with the open() method and fetching a row with fetch().
The method takes the position of the column as the parameter.
FOR i=1 TO sh.getResultCount() DISPLAY sh.getResultName(i) END FOR