|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Turning on DateTime use in sybperl 2.09
Date: Feb 12 1998 3:25PM
Guillaume Mallet wrote:
>
> In Michael Peppler's documentation for sybperl-2.09, it says that special
> handling of DateTime values "is turned off by default for performance
> reasons. You can turn it on per datatype and dbh, or via the module
> attribute hash (%Sybase::DBlib::Att and %Sybase::CTlib::Att)".
IN your script you can say:
$Sybase::DBlib::Att{UseDateTime} = TRUE; # or 1
You can also turn it on for a particular database handle:
$dbh = new Sybase::DBlib user, pwd, server;
$dbh->{UseDateTime} = TRUE;
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|