Re: ERROR: column "crc" does not exist

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: ERROR: column "crc" does not exist
Date: 2007-04-12 12:19:00
Message-ID: 20070412121900.GD29820@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

am Thu, dem 12.04.2007, um 9:23:39 -0300 mailte ezequias(at)fastcon(dot)com(dot)br folgendes:
> Hi list,
>
> I have a table with many fields and the latest field is:
>
> "CRC" character varying(255),

You have created a field called "CRC", with upper-case.

>
> When I try to access the table with a select with a where clause like
>
> Select * from base.points where crc = 'e19e26330a0db2f2435106b16623fa82'

You searched for a field "crc", with lower-case. rewrite your query to :
... where "CRC" = 'e19e26330a0db2f2435106b16623fa82'

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message George Weaver 2007-04-12 12:21:23 Re: ERROR: column "crc" does not exist
Previous Message Bart Degryse 2007-04-12 12:15:27 Re: ERROR: column "crc" does not exist