in reply to DBI:how to get name of the db ?
Incidently, if you have multiple databases, it's often useful to be able to tell which one you're currently connected to. You -could- theoretically store the current database name in a variable, but sometimes it's just easier to access it via the handle. I use the above format myself occasionally.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI:how to get name of the db ?
by erix (Prior) on Dec 14, 2011 at 10:41 UTC | |
by Tux (Canon) on Dec 14, 2011 at 11:37 UTC | |
by erix (Prior) on Dec 14, 2011 at 12:04 UTC | |
| |
|
Re^2: DBI:how to get name of the db ?
by ansh batra (Friar) on Dec 14, 2011 at 09:15 UTC |