pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ghita Voda <gvoda@smartsoft.ro>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Insert a long text
Date: Fri, 19 Feb 1999 12:00:48 +0200
Message-ID: <01BE5BFF.7F998C30@oak.smartsoft.ro> (raw)

Hello!

I want to insert a long text (up to 10.000 words) into a table (for example, table1) into a field (field1) which is a 'text' field.
I have tried the followings:
INSERT INTO table1 VALUES (' long text'...) 
UPDATE table1 SET field1='long text'
and is not working.
I'm using servlets and Apache server, on Linux.

In MSAccess is working also this statement:
UPDATE table1 SET field1 = field1 & 'short text'
but in postgres I don't know how to do this.
Thank you,

Ghita Voda




view thread (6+ messages)  latest in thread

Message-ID: <01BE5BFF.7F998C30@oak.smartsoft.ro>
Permalink:  ../01BE5BFF.7F998C30@oak.smartsoft.ro/
Also on:    postgresql.org/message-id/01BE5BFF.7F998C30@oak.smartsoft.ro

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: gvoda@smartsoft.ro
  Subject: Re: Insert a long text
  In-Reply-To: <01BE5BFF.7F998C30@oak.smartsoft.ro>
  References: <01BE5BFF.7F998C30@oak.smartsoft.ro>

* 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