my @allrows = @{ $sth->fetchrow_arrayref({}) }; # Expand ref, to simplify access