[freetds] FreeTDS 0.61 broken with Sybase

Thomas Gagné tgagne at wideopenwest.com
Sat Jun 28 10:11:22 EDT 2003



Alex Kiesel wrote:

>On Fri, 2003-06-27 at 18:06, Thomas Gagné wrote:
>  
>
>>If you're at all familiar with how PHP handles Sybase, do you have any 
>>suggestions on how to get PHP to handle sybase DATE and NUMERIC formats? 
>> Does PHP have date and decimal types?
>>    
>>
>
>Hi,
>
>PHP does not have a builtin type for dates, so it returns any DATETIME
>field as a string.
>
>Decimal types are returned as integers or floats, whatever type or range
>was returned by the database.
>
>- Alex
>

So in essence, it's a bad choice for programming when currency and dates 
are involved?

-- 
.tom





More information about the FreeTDS mailing list