Article View: borland.public.delphi.database.bdp
Article #2Re: BDP eating trailing spaces
From: news.borland.com
Date: Mon, 18 Dec 2006 20:22
Date: Mon, 18 Dec 2006 20:22
34 lines
2178 bytes
2178 bytes
"Bob Swart" <b.swart@chello.nl> wrote in message news:4586F404.1060904@chello.nl... > Hi "news", > >> Ive found a problem where my app is getting VARCHAR2 fields with their >> trailing space trimmed. A packet trace shows that the data is getting to >> my client box properly, so the trim happens somewhere in BDP code. > > I thought that VARCHAR fields were always truncated? > > Groetjes, > Bob Swart I don't believe so. Anyways, I do have data in my database which has trailing spaces. Those spaces aren't making it to my client code. This is a problem because I am doing the WHERE clause style of concurrency checking... so my WHERE clause never matches in these cases since I don't have the same data the server has. I should point out that I am using Oracle (v8 and v9). I just created a simple test bed application with two text boxes. One text box is bound to a dataset generated and filled by BDP. The other text box is bound to a dataset generated and filled by MS Oracle provider. Both are querying the exact same table.field. MS Oracle provider is getting showing the data correctly with all trailing spaces intact. BDP is not. Is this a bug? any ideas? thanks :)
Technical Details
Message-ID:
<4586f83d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4586daf5$1@newsgroups.borland.com> <4586F404.1060904@chello.nl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effeb,55aa26900fbb2200 X-Google-Attributes: gid1effeb,public X-Google-Language: ENGLISH,ASCII-7-bit From: "news.borland.com" <someone@microsoft.com> Newsgroups: borland.public.delphi.database.bdp References: <4586daf5$1@newsgroups.borland.com> <4586F404.1060904@chello.nl> Subject: Re: BDP eating trailing spaces Date: Mon, 18 Dec 2006 13:22:13 -0700 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 159.87.116.4 Message-ID: <4586f83d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1166473277 159.87.116.4 (18 Dec 2006 12:21:17 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail