Skip to Content.
Sympa Menu

freetds - dbbind don't works with DATETIME4BIND...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ramiro Vázquez <lrvazquez AT megared.net.mx>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: dbbind don't works with DATETIME4BIND...
  • Date: Fri, 20 Apr 2001 13:09:36 -0600


Hi,

I working with freetds 0.51 configured with TDSVER=42 on solaris 7
accesing to MS-SQL 7.0.

I have a field with SMALLDATETIME type and when I try to dbbind it using
the type SMALLDATETIMEBIND returns the variable with 0's in both members, if
I try with DATETIMEBIND yields the same.

I see if I try to bind to STRINGBIND works fine, but with the format
"Jan 1 2001 12:00PM" so when I try to dbconvert to either DBDATETIME4 or
DBDATETIME variable fails. I saw that _string_to_tm function don't expect
that format.

Is there a bug with dbbind to handle DATETIME types ??
I have to set a option ??
Ramiro.





Archive powered by MHonArc 2.6.24.

Top of Page