Re: How to use VB6 for store image to postgresql?

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Re: How to use VB6 for store image to postgresql?
Дата
Msg-id 000e01c8626a$0eb90100$0a01a8c0@gevmus
обсуждение исходный текст
Ответ на How to use VB6 for store image to postgresql?  ("Premsun Choltanwanich" <Premsun@nsasia.co.th>)
Список pgsql-hackers
I guess the fastest way is to:
 
- create a column of type text. ex.  create table foo( myimage text );
- read the contents of your image from file and encode it in base64 using:
- save the base64 encoded string in the database
I hope this helps.
 
Regards,
Gevik.
 


From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Premsun Choltanwanich
Sent: Tuesday, January 29, 2008 10:28 AM
To: pgsql-hackers@postgresql.org
Subject: [HACKERS] How to use VB6 for store image to postgresql?

Dear All,
 
Have you ever store image to postgresql using VB6? Could you give me an example?
 
Thank you,
 
Premsun

NETsolutions Asia Limited

+66 (2) 237 7247

NETsolutions Asia Limited

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: [PATCHES] Proposed patch: synchronized_scanning GUCvariable
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Bogus cleanup code in GSSAPI/SSPI patch