🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #508

Re: Float field format mimatching in query

#508
From: Michele Santucci
Date: Fri, 26 Aug 2005 07:58
21 lines
1693 bytes
> Setting DecimalSeparator = '.' will use '.' for convertion. Parameters may 
> be added at runtime too.



This's exactly what I would like to avoid since I cannot be sure of what 
type
of separator the system locale and the database engine are using.

How can I get what separator or more generally what float format is used 
into
a database ?

How can I get what time separator or more generally what time/date format i
used into a database ?

I tried to set the locale of the application with this:

                 setlocale( LC_ALL, "Italian_Italy.1252" );

but this's not enough ...
Technical Details
Message-ID: <430ecb7e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <430c51e0@newsgroups.borland.com> <430d5e97$1@newsgroups.borland.com> <430d93fd@newsgroups.borland.com> <430ec2e1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f2763377f03f683f
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Michele Santucci" <michele.santucci@celinavio.it>
Newsgroups: borland.public.cppbuilder.database.ado
References: <430c51e0@newsgroups.borland.com> <430d5e97$1@newsgroups.borland.com> <430d93fd@newsgroups.borland.com> <430ec2e1$1@newsgroups.borland.com>
Subject: Re: Float field format mimatching in query
Date: Fri, 26 Aug 2005 09:58:24 +0200
Lines: 23
Organization: Celin Avio S.r.l.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 80.86.50.64
Message-ID: <430ecb7e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1125043070 80.86.50.64 (26 Aug 2005 00:57:50 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail