Skip to Content.
Sympa Menu

freetds - Re: freetds digest: March 21, 2002

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Rafel Puchades <RPuchadM AT cfp.upv.es>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>, tracphan AT yahoo.com
  • Subject: Re: freetds digest: March 21, 2002
  • Date: Fri, 22 Mar 2002 09:35:51 +0100



Maybe If you try co convert to a String
and use setString
???



I tried what you suggested and it works most of the
time, but converting from long to double will loose
some of its significant bits therefore the result is
wrong sometimes. Any other ideas?

Thanks

--- Rafel Puchades <RPuchadM AT cfp.upv.es> wrote:

try to convert the bigint to a double
and use setDouble from preparedStatement

it will maybe be enough


>How do store a long data type to the database using

FreeTDS? I defined a

>column as NUMERIC(19, 0) but I can't insert any

data into it.

>Thanks in advanced.







  • Re: freetds digest: March 21, 2002, Rafel Puchades, 03/22/2002

Archive powered by MHonArc 2.6.24.

Top of Page