Re: Setting session stuff

[prev] [thread] [next] [Date index for 2004/08/01]

From: Jay Strauss
Subject: Re: Setting session stuff
Date: 20:38 on 01 Aug 2004
Not to reply to myself, but is this OK?

__PACKAGE__->set_db('Main',$dsn,$username,$password,{AutoCommit=>1});
my $dbh = __PACKAGE__->db_Main;
$dbh->do(q[alter session set nls_date_format = 'yyyy/mm/dd hh24:mi:ss']);

----- Original Message ----- 
From: "Jay Strauss" <me@xxxxxx.xxx>
To: "class dbi" <cdbi-talk@xxxxxx.xxxxx.xxx>
Sent: Sunday, August 01, 2004 3:29 PM
Subject: Setting session stuff


> Hi,
> 
> Sorry I haven't used Class::DBI in a while and don't remember 
> anything.
> 
> If, in my CDBI base class, I have:
> 
> __PACKAGE__->set_db('Main',$dsn,$username,$password,{AutoCommit=>1});
> 
> How would I do:
> 
> $dbh->do(q[alter session set nls_date_format = 'yyyy/mm/dd hh24:mi:ss']);
> 
> at this stage?
> 
> Thanks
> Jay

Setting session stuff
Jay Strauss 20:29 on 01 Aug 2004

Re: Setting session stuff
Jay Strauss 20:38 on 01 Aug 2004

Re: Setting session stuff
Tony Bowden 21:04 on 01 Aug 2004

Re: Setting session stuff
Jay Strauss 03:11 on 02 Aug 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52