🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

MSSQL7 and nvarchar

#4102
From: Formentz
Date: Fri, 12 Apr 2002 14:04
12 lines
1300 bytes
Hi all,
I have problems with TADOQuery parameters and nvarchar fields :
when I use a parameter to set the value of an nvarchar field, the resulting
field value is the string and as many spaces as the field size.
if I set the value without the parameter the value of the field is right,
only the string without spaces.
Does someone had this same problems?
I am using BCB5 with patch 1 and ADO with patch 1

TIA
Ciao
Formentz
Technical Details
Message-ID: <3cb6e970_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,83d1185b4c456dc1,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-04-12 07:16:26 PST
From: "Formentz" <francesco@leotron.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: MSSQL7 and nvarchar
Date: Fri, 12 Apr 2002 16:04:50 +0200
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 80.16.99.17
Message-ID: <3cb6e970_2@dnews>
X-Trace: dnews 1018620272 80.16.99.17 (12 Apr 2002 07:04:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!dnews