Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: how to use DBI connect to >1 database

by ikegami (Patriarch)
on Sep 28, 2023 at 17:17 UTC ( [id://11154733] : note . print w/replies, xml ) Need Help??


in reply to how to use DBI connect to >1 database

DBI does not evaluate SQL. It just passes it to the server. If DB2 support queries that make use of multiple databases, you will need to issue the appropriate SQL commands to do so. This has nothing to do with DBI, which just gives you allows you to communicate with a server.

  • Comment on Re: how to use DBI connect to >1 database

Replies are listed 'Best First'.
Re^2: how to use DBI connect to >1 database
by misterperl (Pilgrim) on Sep 28, 2023 at 17:20 UTC
    you're right I guess this was more of a mysql question. Sorry 'bout that, but we're gold now!

      Sorry, thought I saw "DB2" mentioned. Same applies to every other server, though. If MySQL support queries that make use of multiple databases, you will need to issue the appropriate SQL commands to do so.