Hi Vincent

On 07/03/14 21:17, Vincent Veyron wrote:
On Fri, 07 Mar 2014 17:57:26 +1100
Ron Savage <r...@savage.net.au> wrote:


Is it possible to get back from DBI, or (preferably) $dbh, the DSN used
in the call to connect?


You can retrieve the db and username with this :

http://search.cpan.org/dist/DBI/DBI.pm#Database_Handle_Attributes

Yes, that gives me Username, and uc $username gives me the Oracle schema, as I understand it.

$many x $thanx;


--
Ron Savage
savage.net.au

Reply via email to