Use ResultGetMetaData to iterate columns