Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problem with bigint queries?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem with bigint queries?
  • Date: Fri, 2 Feb 2007 18:38:12 -0500

Martin Fandel wrote:
> Numer is shown in php+freetds: 2.6082000696729E+18
> Numer is shown in MS Query Analyzer: 2604016427929174238

Just a guess: maybe PHP converts bigint to double?

> Does someone know a solution?

Convert the number to a varchar in your query.

HTH.

--jkl







Archive powered by MHonArc 2.6.24.

Top of Page