From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: Premsun Choltanwanich <Premsun@nsasia.co.th>
To: getsreejith@gmail.com
To: pgsql-sql@postgresql.org
Subject: Re: Image Insert Postgresql DB
Date: Tue, 23 Nov 2004 14:59:29 +0530
Message-ID: <0411231459290P.01150@thenilgiris.com> (raw)
In-Reply-To: <s1a3550e.053@jupiter.nsasia.co.th>
References: <s1a3550e.053@jupiter.nsasia.co.th>
On Tuesday 23 November 2004 01:49 pm, Premsun Choltanwanich wrote:
> I use VB as develop tool and ADO for connect. My code is show below and
> for vPicMember is stand ADOStream in Binary.
>
> rs.Open "SELECT * FROM t_mbrpic WHERE mbrsysid = " & vSysId, conn,
> adOpenStatic, adLockOptimistic
> If rs.EOF Then rs.AddNew
> rs!MbrSysId = vSysId
> rs!MbrPic = vPicMember.Read
> rs.Update
> rs.Close
i use python, and have no idea about ado, this might help:
http://gborg.postgresql.org/project/psqlodbc/genpage.php?howto-vblo
kg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lawgon@thenilgiris.com, Premsun@nsasia.co.th, getsreejith@gmail.com
Subject: Re: Image Insert Postgresql DB
In-Reply-To: <0411231459290P.01150@thenilgiris.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox