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 > Other > Ingres long varchar - BLOBS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-04, 10:20
jeff@gro jeff@gro is offline
Registered User
 
Join Date: Jan 2004
Location: Edinburgh Scotland
Posts: 2
Question Ingres long varchar - BLOBS

Dear All

Does anyone know a way to get 100,00 character long text string into a long varchar field without splitting the line into 50 x 2000 long varvhar strings and concatting those together ? I dont know if this would even work as the maximum page size I can have is 64k and it looks like I need 96k. Import Assistant tells me the lines are too long !!

All help greatly appreciated.

Jeff
Reply With Quote
  #2 (permalink)  
Old 01-15-04, 04:55
dbabren dbabren is offline
Registered User
 
Join Date: Jul 2003
Location: England
Posts: 152
You could try the long varchar type - although this may only be available in newer releases of Ingres.

although (and I quote from the on-line documentation for 2.6) ...

"A string literal of more than 2000 characters cannot be assigned to a long varchar column. Details about assigning long strings to these columns are found in the description of data handlers in your host language companion guide or the OpenAPI User Guide."

If you have access to the OpenAPI User Guide, then that may give you the answer.
__________________
Regards
Dbabren
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