Skip site navigation (1) Skip section navigation (2)

Re: Can I store Ms-Word document in a table.

From: Kris Jurka <books(at)ejurka(dot)com>
To: Nilesh Ghone <ghone_nilesh(at)sutra(dot)co(dot)jp>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Can I store Ms-Word document in a table.
Date: 2004-01-22 06:27:26
Message-ID: Pine.LNX.4.33.0401220126080.31770-100000@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Thu, 22 Jan 2004, Nilesh Ghone wrote:

> I want to store ms-word documents (size may be up to 50 KB) in my
> postgreSQL database. Can I?
> If possible which datatype I have to use for it? Pls. assist I am a novice
> user for postgreSQL.

The easiest way to do this is to use the bytea data type and the
PreparedStatement.setBytes() and ResultSet.getBytes() to store and
retrieve the documents.

Kris Jurka


In response to

pgsql-jdbc by date

Next:From: Vámos BalázsDate: 2004-01-22 08:52:36
Subject: Re: Lost connection after postgres restarted
Previous:From: Nilesh GhoneDate: 2004-01-22 06:06:15
Subject: Can I store Ms-Word document in a table.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group