Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS 0.61 broken with Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Thomas Gagné <tgagne AT wideopenwest.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeTDS 0.61 broken with Sybase
  • Date: Sat, 28 Jun 2003 10:11:22 -0400



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






Archive powered by MHonArc 2.6.24.

Top of Page