Could not Insert into field of datatype BLOB

Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Could not Insert into field of datatype BLOB

Post by Faiz »

Hi,
I got the following error when inserting data into a field of datatype BLOB. The others were inserted correctly.

FTN type 82 (varblobi): cannot convert to SQL type; assuming byte in the function vsvtx_setparam

I am selecting the data from a BLOB field and inserting it into another BLOB field when this error occured.
Any solutions???

Regards,
User avatar
John
Site Admin
Posts: 2623
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Could not Insert into field of datatype BLOB

Post by John »

The easiest thing to do is when you select it convert it to varchar first, so rather than:

SELECT BlobField from Table;

SELECT convert(BlobField, 'varchar') BlobField from Table;
John Turnbull
Thunderstone Software
goddess
Posts: 1
Joined: Mon Dec 04, 2000 5:37 pm

Could not Insert into field of datatype BLOB

Post by goddess »

Just wanted to let you know this was very helpful.
Thanks,
Joy