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 499825337C for ; Tue, 19 Apr 2005 09:54:05 -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 61602-04 for ; Tue, 19 Apr 2005 12:54:01 +0000 (GMT) Received: from spoetnik.xs4all.nl (spoetnik.xs4all.nl [213.84.24.58]) by svr1.postgresql.org (Postfix) with ESMTP id 24B5C53C74 for ; Tue, 19 Apr 2005 08:16:12 -0300 (ADT) Received: by spoetnik.xs4all.nl (Postfix, from userid 1000) id 6FF2B1CC4D; Tue, 19 Apr 2005 11:58:58 +0200 (CEST) Date: Tue, 19 Apr 2005 11:58:58 +0200 From: Reinoud van Leeuwen To: pgsql-sql@postgresql.org Subject: Re: Query about SQL in PostgreSQL Message-ID: <20050419095858.GC19943@spoetnik.xs4all.nl> Mail-Followup-To: pgsql-sql@postgresql.org References: <20050419094846.21474.qmail@web50506.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050419094846.21474.qmail@web50506.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-message-flag: Warning! The sender of this mail thinks you should use a more secure email client. X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/282 X-Sequence-Number: 21175 On Tue, Apr 19, 2005 at 02:48:46AM -0700, Muhammad Nadeem Ashraf wrote: > Hi, > I am new user of PostGreSQL 8.0.1. While using it i faced following > issue. As SQL is Case insensetive Language So the Uper or Lower cases > are not significant. But while using the database there is problem. > If i Create new Table with name (tblstudent) then upon SQL queries it > is fine to use Select * from tblstudent. However i face probel if i give > the name of table in Capital letters i.e. if the name is (tblStudent) > then upon using Select * from tblStudent, following error is appeard: > ERROR: relation "tblst" does not exist > > And if i use the query Select * from "tblStudent" then it works fine. > > > Please help me out in this regard. What exactly is the problem? Just use the names of tables you have created. -- __________________________________________________ "Nothing is as subjective as reality" Reinoud van Leeuwen reinoud.v@n.leeuwen.net http://www.xs4all.nl/~reinoud __________________________________________________