Re: DSN retrievable from DBI?

Ron Savage <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi Vincent

On 07/03/14 21:17, Vincent Veyron wrote:
> On Fri, 07 Mar 2014 17:57:26 +1100
> Ron Savage <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.