Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: DBI driver name from database handle

by Anonymous Monk
on Oct 20, 2003 at 15:18 UTC ( #300616=note: print w/replies, xml ) Need Help??


in reply to Re: DBI driver name from database handle
in thread DBI driver name from database handle

Would
$dbh -> {Name}
provide the information you are after?

No.

$dbh -> {Name} provides the name of the database used in the connection string.

From DBI docs

""Name"" (string) Holds the "name" of the database. Usually (and recom­ mended to be) the same as the ""dbi:DriverName:..."" string used to connect to the database, but with the leading ""dbi:DriverName:"" removed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://300616]
help
Chatterbox?
[Discipulus]: oh erix but is the fourth of cycle;read them in order
[erix]: hm, perhaps I can just read it here
Discipulus zzz...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-05-23 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?