lundi 13 juillet 2015

Save image in sqlite and then upload to Postgresql

I have to insert an image to sqlite first and then upload the same to postgresql .I tried converting image to base64 string and then inserting it..But it is showing error .SQLITE database have datatype as varchar(100) for image and postgresql have datatype as character varying(50). I could nt find what is error..Pls help me..

thanks in advance

Aucun commentaire:

Enregistrer un commentaire