Hi,
I am inserted a record into a table that contains a DBCLOB field, the
record is successfully added after executing the statement except that
the DBCLOB field has inserted nothing. I have tried all the followings
for the DBCLOB field:
'sample'
n'sample'
g'sample'
all of them returned nothing for the field of the new record. Could
anyone please give me some idea on it?
The version of DB2 I am using is ESE UDB 8.1.5, thanks!
Chunglun 4 4620
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
"chunglun" <ch******@chunglun.com> wrote in message
news:87**************************@posting.google.c om... Hi,
I am inserted a record into a table that contains a DBCLOB field, the record is successfully added after executing the statement except that the DBCLOB field has inserted nothing. I have tried all the followings for the DBCLOB field:
'sample' n'sample' g'sample'
all of them returned nothing for the field of the new record. Could anyone please give me some idea on it?
The version of DB2 I am using is ESE UDB 8.1.5, thanks!
Chunglun
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
"chunglun" <ch******@chunglun.com> wrote in message
news:87**************************@posting.google.c om... Hi,
I am inserted a record into a table that contains a DBCLOB field, the record is successfully added after executing the statement except that the DBCLOB field has inserted nothing. I have tried all the followings for the DBCLOB field:
'sample' n'sample' g'sample'
all of them returned nothing for the field of the new record. Could anyone please give me some idea on it?
The version of DB2 I am using is ESE UDB 8.1.5, thanks!
Chunglun
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sans Spam |
last post by:
Greetings! I have a table that contains all of the function
permissions within a given application. These functions are different
sections of a site and each has its own permissions (READ, WRITE,...
|
by: Philip Boonzaaier |
last post by:
I want to be able to generate SQL statements that will go through a list of
data, effectively row by row, enquire on the database if this exists in the
selected table- If it exists, then the colums...
|
by: chunglun |
last post by:
Hi,
I am inserted a record into a table that contains a DBCLOB field, the
record is successfully added after executing the statement except that
the DBCLOB field has inserted nothing. I have...
|
by: robert |
last post by:
been ruminating on the question (mostly in a 390/v7 context) of
whether, and if so when, a row update becomes an insert/delete.
i assume that there is a threshold on the number of columns of
the...
|
by: authorking |
last post by:
I use the following code to insert a data record in to a datatable of an
access database.But every time I execute the command, there will rise an
exception and the insert operation can't be...
|
by: Polyhedron_12 |
last post by:
I am having problems calling functions in general in VB. I keep
getting alot of errors. Can anybody help me out with this? I put the
error message on the same line that it says it is at. I believe...
|
by: Geoffrey KRETZ |
last post by:
Hello,
I'm wondering if the following behaviour is the correct one for
PostGreSQL (7.4 on UNIX).
I've a table temp_tab with 5 fields (f1,f2,f3,...),and I'm a launching
the following request :...
|
by: wombat53 |
last post by:
Hi Group
Are there any DB2 UDB ESE DPF V8.2 users exploiting "buffered inserts"
(BIND parm INSERT BUF) *and* "multi-row INSERTS" (many rows associated
with the VALUES clause of the INSERT to...
|
by: rn5a |
last post by:
During registration, users are supposed to enter the following
details: First Name, Last Name, EMail, UserName, Password, Confirm
Password, Address, City, State, Country, Zip & Phone Number. I am...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |