pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tomas@nocrew.org
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: SQLExecute fails question
Date: 21 Jul 2004 12:22:54 +0200
Message-ID: <80658hbqwx.fsf@junk.nocrew.org> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7398@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7398@ratbert.vale-housing.co.uk>

"Dave Page" <dpage@vale-housing.co.uk> writes:

> > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Joost 
> > Kraaijeveld
> > 
> > Hi all,
> > 
> > When I get this error message from a SQLExecute():
> > 
> > [2152] SQLSTATE = HY000
> > [2152] Native rc Code = 7
> > [2152] Message: ERROR:  value too long for type character(20)
> > 
> > does that mean that one of my columns as that is defined as 
> > char(20) receives more data than 20 chars or does that mean 
> > that column 20 receives to many chars?
> 
> The first. The data is too long for char(20).

It would be very helpful sometimes to know what column that
failed. But maybe that's really a PostgreSQL issue, and not the ODBC
driver?


Greetings,

Tomas



view thread (4+ messages)  latest in thread

Message-ID: <80658hbqwx.fsf@junk.nocrew.org>
Permalink:  ../80658hbqwx.fsf@junk.nocrew.org/
Also on:    postgresql.org/message-id/80658hbqwx.fsf@junk.nocrew.org

 · 

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-odbc@postgresql.org
  Cc: tomas@nocrew.org, dpage@vale-housing.co.uk
  Subject: Re: SQLExecute fails question
  In-Reply-To: <80658hbqwx.fsf@junk.nocrew.org>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7398@ratbert.vale-housing.co.uk> <80658hbqwx.fsf@junk.nocrew.org>

* 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