Is there a posibility to change the SUBTYPE of a BLOB field ?
I have a BLOB with SUBTYPE BINARY an need to change it to SUBTYPE TEXT, because i get some strange Characters into the BLOB and in a BLOB with SUBTYPE TEXT i don't have this Problem
Is there a posibility to change the SUBTYPE of a BLOB field ?
I have a BLOB with SUBTYPE BINARY an need to change it to SUBTYPE TEXT, because i get some strange Characters into the BLOB and in a BLOB with SUBTYPE TEXT i don't have this Problem
Directly altering the subtype of a blob column is not possible (attempts to do this will give the error "Cannot change datatype for column BLOBCOLUMN. Changing datatype is not supported for BLOB or ARRAY columns.")
You will need to
Add a new column with an explicit character set (I am assuming windows 1252 based on your comments)
Copy the data from the old column to the new column:
Drop the old column
Rename the new column