If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Sql statement to insert text datatype

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-31-04, 08:19
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Sql statement to insert text datatype

Dear All,

We use filetoblob & filetoclob function to load data in to blob & clob datatype through sql. Is there a similar function for text datatype too. Please let me know. Thanks in advance.

Best Regards,

Lloyd
Reply With Quote
  #2 (permalink)  
Old 06-01-04, 12:02
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Lloyd,
Remember that clob or blob ONLY insert into SBSPACES and not blobspaces.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 06-01-04, 23:29
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Hi Gustavo,

Thanks for your reply, I have created both SBSPACES & BLOBSPACES, the problem i am facing is when i try to insert japanese/chinese data in to blob, clob or text datatype they get stored as junk. But the problem never comes for spanish, french or german data. Can you draw some light on it.

Best Regards,

Lloyd
Reply With Quote
  #4 (permalink)  
Old 06-02-04, 07:36
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Lloyd

I do not have much experience with data blobs, but surely the problem this in the form to keep the data and the sets from environment variables.
That it happens with the variables of server LANG, LC_CTYPE,...

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On