Your query as written looks fine to use with DBI so long as the user you have connected as has the requisite privileges on both DBs. Connect to either and just use that one handle.
All of this assumes that both DBs are on the same host, of course.
🦛
In reply to Re: how to use DBI connect to >1 database
by hippo
in thread how to use DBI connect to >1 database
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |