Re: Query about SQL in PostgreSQL
От | KÖPFERL Robert |
---|---|
Тема | Re: Query about SQL in PostgreSQL |
Дата | |
Msg-id | ED4E30DD9C43D5118DFB00508BBBA76EB166BE@neptun.sonorys.at обсуждение исходный текст |
Ответ на | Query about SQL in PostgreSQL (Muhammad Nadeem Ashraf <nadeem_engg@yahoo.com>) |
Ответы |
Re: Query about SQL in PostgreSQL
|
Список | pgsql-sql |
Postgres has the weird behavour to compare identifies case sensitive BUT to downcast any non-quoted identifier inside an SQL statement.
So it is reccomended to just use lower case (for readability)
-----Original Message-----
From: Muhammad Nadeem Ashraf [mailto:nadeem_engg@yahoo.com]
Sent: Dienstag, 19. April 2005 11:49
To: pgsql-sql@postgresql.org
Subject: [SQL] Query about SQL in PostgreSQLHi,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 existAnd if i use the query Select * from "tblStudent" then it works fine.Please help me out in this regard.Nadeem
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
В списке pgsql-sql по дате отправления: