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