The ExecOneRow method

Use the ExecOneRow method of the Query object for queries that return (or are expected to return) one row.

The ExecOneRow method returns an ITRow interface pointer that represents the result row, or NULL if there is an error or if no row is returned. If the query returns more than one row, the first row is returned and the rest are discarded.