X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DBD2353373 for ; Sat, 23 Apr 2005 20:57:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25976-05 for ; Sat, 23 Apr 2005 23:57:05 +0000 (GMT) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by svr1.postgresql.org (Postfix) with ESMTP id 16D195378E for ; Sat, 23 Apr 2005 20:57:03 -0300 (ADT) Received: from localhost ([199.185.220.240]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050423235705.ASH4865.priv-edtnes51.telusplanet.net@localhost>; Sat, 23 Apr 2005 17:57:05 -0600 Received: from 64.180.225.200 ( [64.180.225.200]) as user a3a18850@192.168.200.1 by webmail.telus.net with HTTP; Sat, 23 Apr 2005 16:57:05 -0700 Message-ID: <1114300625.426ae0d1956fc@webmail.telus.net> Date: Sat, 23 Apr 2005 16:57:05 -0700 From: Mischa Sandberg To: Frank Bax Cc: pgsql-sql@postgresql.org Subject: Re: weird SQL statement question References: <5.2.1.1.0.20050423142822.04965cf0@pop6.sympatico.ca> In-Reply-To: <5.2.1.1.0.20050423142822.04965cf0@pop6.sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 64.180.225.200 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.082 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_POST, FORGED_RCVD_HELO X-Spam-Level: * X-Archive-Number: 200504/363 X-Sequence-Number: 21256 Quoting Frank Bax : > At 01:55 PM 4/23/05, Tadej Kanizar wrote: > > >Ok, so I installed the latest version of Postresql (8.02) on a WinXP > SP2 > >machine.. > > > >My question is why won't the statement SELECT * FROM table work, > whereas > >the statement SELECT * FROM »table« works! > If you create a table using quotes and mixed-case, you will need > quotes > every time you reference the table. Don't use quotes when you create > the > table and you won't need them when you acces the table with other > commands. I don't suppose that the original poster actually named the table "table"? In which case, being a keyword, it will ALWAYS need quotes. "Dreams come true, not free." -- S.Sondheim, ITW