Re: How to detect float format by passing SQL_CHAR to float column ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "lothar(dot)behrens(at)lollisoft(dot)de" <lothar(dot)behrens(at)lollisoft(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: How to detect float format by passing SQL_CHAR to float column ?
Date: 2006-01-19 15:39:53
Message-ID: 16523.1137685193@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

"lothar(dot)behrens(at)lollisoft(dot)de" <lothar(dot)behrens(at)lollisoft(dot)de> writes:
> as the documentation of postgresql, there is a floating point format
> like 10.1234 but I do not see
> 10,1234. Is that ever like the documentation ?

No, we deliberately do not support locale-dependent numeric styles.
At least not in simple data entry --- IIRC, you can convert such
strings with to_char()/to_number().

regards, tom lane

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Shachar Shemesh 2006-01-19 15:51:22 Re: Parameters.Refresh error.
Previous Message lothar.behrens@lollisoft.de 2006-01-19 15:27:09 How to detect float format by passing SQL_CHAR to float column ?