On Fri, Apr 30, 2004 at 09:11:15AM +0200, Francesc Guasch wrote:
> If I have the $dbh connected, how can I ask the connection
> information ? I want to know the database name.
Umm, name, that'll be $dbh->{Name}
> I searched the perldoc DBI unsuccessfully, If I missed
> something I'll be glad to hear any hints. Thank you.
>From the docs:
=item C<Name> (string)
Holds the "name" of the database. Usually (and recommended to be) the
same as the "C<dbi:DriverName:...>" string used to connect to the database,
but with the leading "C<dbi:DriverName:>" removed.
Tim.