What is the codeset of your database?
GRAPHIC, VARGRAPHIC, LONG VARGRAPHIC and DBCLOB are defined to store pure
double-byte characters.
'sample' are 6 single byte characters. If you are using non-Unicode database
and the code pages of your set up are different, your input, 'sample' will
be replaced as subsitution characters after code page conversion. Therefore
when you select the data back, the row shows empty character. g'sample'
should be fine if you are using non single byte characters.
Sherman
> Hi,
>
[quoted text clipped - 13 lines]
>
> Chunglun
chunglun - 04 May 2004 03:46 GMT
Thanks! Sherman
For my case, I am using .NET (ASP.NET with Server Side program
developed in C#) connecting DB2. The database codeset is already
utf-8, and the code pages I set up also in utf-8. Still, I can't
insert the data I want properly, why is it so?
Chunglun