[freetds] ODBC data types

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Dec 18 04:47:52 EST 2006


> 
> 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




More information about the FreeTDS mailing list