Re: DELETE FROM error message

From: "Daniel Bakken" <dan(at)smtresource(dot)com>
To: "Postgres List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: DELETE FROM error message
Date: 2002-07-18 20:13:30
Message-ID: EFELIOJNFEDFOHLPCGEJIEFJEIAA.dan@smtresource.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I tried your suggestion (both ways), but I still get the same error message
about explicit casts.

Daniel Bakken

> DELETE FROM inventory WHERE invid = '01044T'::BPCHAR;
>
> Robert Treat
>
> On Wed, 2002-07-17 at 21:59, Darren Ferguson wrote:
> > You will need to cats '01044T' to bpchar since postgres will take any
> > string as a varchar unless specified otherwise.
> >
> > Use the following
> >
> > DELETE FROM inventory WHERE invid = '01044T'::VARCHAR;
> >
> > HTH
> >
> > Darren

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Reina 2002-07-18 20:38:17 Re: Appropriate values for sort_mem and shared_buffers
Previous Message Bruce Momjian 2002-07-18 20:12:49 PostgreSQL vs. SapDB slashdot discussion