Skip to Content.
Sympa Menu

freetds - Re: GetDate is truncated

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Marunde, Emil" <emarunde AT FSC.Follett.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: Re: GetDate is truncated
  • Date: Fri, 10 May 2002 06:37:44 -0500


I'm using 0.53 and I can't locate 'locale.conf' anywhere.

Emil

-----Original Message-----
From: Brian Bruns [mailto:camber AT ais.org]
Sent: Thursday, May 09, 2002 7:36 PM
To: TDS Development Group
Subject: [freetds] Re: GetDate is truncated



if you are running a recent cvs snapshot then edit the etc/locale.conf
file and adjust the string to a valid strftime(3) time string.

Brian

On Thu, 9 May 2002, Marunde, Emil wrote:

> I'm currently using Perl on RedHat 7.2, MSSQL 2000, unixODBC, freeTDS,
> DBD::ODBC.
>
> I'm trying to get a starting timestamp from MSSQL to use latter for
logging.
>
> This is a copy of the Perl code.
>
> {
> my $sthGetDate = $dbh->prepare("SELECT GETDATE()");
> $sthGetDate->execute();
> $SQL_StartTime = $sthGetDate->fetchrow_array;
> $sthGetDate->finish();
> }
>
> $SQL_StartTime is always truncated to the nearest minute.
>
>
> Emil
>


---
You are currently subscribed to freetds as: [emarunde AT fsc.follett.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')




Archive powered by MHonArc 2.6.24.

Top of Page