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 > Convert a varchar field to a text field?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-06, 07:27
jorgesc jorgesc is offline
Registered User
 
Join Date: Apr 2006
Posts: 1
Question Convert a varchar field to a text field?

Hi,
how can i convert a varchar field to a text field?
I try with

alter table doc_valor modify sustituto text;

but it doesn't work .....
[Error] Script lines: 1-1 --------------------------
Illegal attempt to convert Text/Byte blob type. 
Reply With Quote
  #2 (permalink)  
Old 06-23-06, 07:35
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

I suggest that run unload table to file plane, and load to other new table with new format.
Or alter table of VARCHAR to CHAR

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