Hi,
I am reading one .png file in ruby. I have created a table “Photo_info”
which has filed “photo_data” with data type varchar(255).
Now if I want to stroe the data of file in the field “photo_data”.
Can anybody say how to do?
On Apr 29, 10:21am, News A. [email protected] wrote:
Hi,
I am reading one .png file in ruby. I have created a table “Photo_info”
which has filed “photo_data” with data type varchar(255).
Now if I want to stroe the data of file in the field “photo_data”.
Can anybody say how to do?
Like i said in your earlier thread, you need to make the column a blob
one (or the image really is tiny (a few hundred bytes), then a
varbinary)
Fred