Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 0190B9FA15F for ; Thu, 12 Apr 2007 09:19:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 48660-03 for ; Thu, 12 Apr 2007 09:19:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by postgresql.org (Postfix) with ESMTP id 0D2A69FB548 for ; Thu, 12 Apr 2007 09:19:05 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1HbyGT1p3K-0001Ja; Thu, 12 Apr 2007 14:19:02 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1HbyGS-0001nz-00 for pgsql-sql@postgresql.org; Thu, 12 Apr 2007 14:19:00 +0200 Date: Thu, 12 Apr 2007 14:19:00 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: ERROR: column "crc" does not exist Message-ID: <20070412121900.GD29820@a-kretschmer.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! User-Agent: Mutt/1.5.9i X-Provags-ID: V01U2FsdGVkX18y3XNTHBo3z6nNcEp43RVhbX6cWtKUBEjQRCf dwtobHWDJgqpxI6KFt3m7o+X9EiQ1Pr8X11I1U4Yqf6EXMD6Yn V1sdxZOzheF06Mr9k28nbkzJD3k0y/9 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/129 X-Sequence-Number: 28129 am Thu, dem 12.04.2007, um 9:23:39 -0300 mailte ezequias@fastcon.com.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