Insert binary data on postgre - Mailing list pgsql-admin

From Eduardo S. Fontanetti
Subject Insert binary data on postgre
Date
Msg-id 20040624191640.84897.qmail@web40707.mail.yahoo.com
Whole thread Raw
Responses Re: Insert binary data on postgre
Re: Insert binary data on postgre
Re: Insert binary data on postgre
List pgsql-admin
How can I do to put a file into the PostgreSQL ? I
have got the contents of file in binary yet and put on
a String on my APP, but when I try to insert it on
postgre, it returns to me:

ERROR: parser: unterminated quoted string at or near
"BMæ»' at character 90

My string:

ConnP.Execute "insert into fotossocios(arquivo)
values('" & Conteudo & "')"

Could somebody help me how to construct the right
string ?

Thanks
Eduardo

______________________________________________________________________

Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
http://br.info.mail.yahoo.com/

pgsql-admin by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: How can I backup database from database itself
Next
From: mike g
Date:
Subject: Re: Insert binary data on postgre