Article View: borland.public.cppbuilder.database.multi-tier
Article #942SQL nvarchar fileds with cursors
From: pepito perez
Date: Wed, 20 Sep 2000 00:00
Date: Wed, 20 Sep 2000 00:00
11 lines
955 bytes
955 bytes
In a C++ Builder 4.0 project I create a cursor to retrieve some data from a SQL Server Database. Some of the fileds of this DB are "nvarchar" type. When creating the cursor ODBC give me no error but afterthat I check the cursor FieldCount property and its value is "0". If I change the fileds from "nvarchar" to "varchar" (the lenght is reduced from 255 to 50) my cursor works properly. Anybody Knows why? Thank you in advance.
Technical Details
Message-ID:
<8q9seq$d1011@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,401691b915b93ad3,start X-Google-Attributes: gidfcd2b,public From: "pepito perez" <pepito@hotmail.com> Subject: SQL nvarchar fileds with cursors Date: 2000/09/20 Message-ID: <8q9seq$d1011@bornews.borland.com> X-Deja-AN: 671956499 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.cppbuilder.database.multi-tier