Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Changing a VARCHAR(2) to BLOB Data type

804017Jul 2 2011 — edited Jul 2 2011
I am trying to change a VARCHAR(2) data type into a BLOB. I have researched the web and found what I thought was the solution. That was to create a new column that was a BLOB, copy the information from the column I what to modify into it, then delete the original column and rename the BLOB column to that original name.

However I am getting error messages such as…

ORA-00904: "CUSTOMER2"."Cust_Firstname": invalid identifier

When I issue this statement:

UPDATE CUSTOMER2 SET "CUSTOMER2"."Cust_Firstname"=Temp_Name;

or

ORA-00904: "CUSTOMER2"."Temp_Name": invalid identifier

When I issue this statement:

UPDATE CUSTOMER2 SET "CUSTOMER2"."Cust_Firstname"="CUSTOMER2"."Temp_Name";

Or

And I have gotten an error message saying update failed was expecting a numeric got BLOB.

I have UPDATED the table…


SQL>Alter table CUSTOMER2 ADD Temp_Name BLOB;

Table altered.

0.74 seconds



Does anyone have any ideas? All help would be very much appreciated!

-Robert
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2011
Added on Jul 2 2011
1 comment
750 views