I think you will find it is the behaviour of your database server rather than the DBI - if you change the SQL to have UNION ALL rather than simply UNION I'm fairly certain you will see what you expect.
/J\
In reply to Re: Perl DBI fetchall_arrayref - puzzling behaviour
by gellyfish
in thread Perl DBI fetchall_arrayref - puzzling behaviour
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |