Skip to Content.
Sympa Menu

freetds - Re: [freetds] ODBC data types

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Sokol, Ryan - 244" <ryans AT HA.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] ODBC data types
  • Date: Mon, 18 Dec 2006 07:18:35 -0600

You know of a way to override this or turn off this setting?

-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of ZIGLIO,
Frediano, VF-IT
Sent: Monday, December 18, 2006 3:48 AM
To: FreeTDS Development Group
Subject: Re: [freetds] ODBC data types

>
> My combination of FreeTDS 0.64, unixODBC 2.2.11-1, PHP 5.1.4,
> and MS SQL
> Server 2005 seem to return all columns from queries as type string.
> Even if they are INTs, they show in PHP as type string. When
> I use the
> db-lib API, that problem goes away.
>
>
>
> Anyone know why this is happening or a fix?
>
>
>
> Thanks in advance.
>

PHP odbc convert everything in strings.

bye
freddy77

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page