Re: weird SQL statement question - Mailing list pgsql-sql

From Frank Bax
Subject Re: weird SQL statement question
Date
Msg-id 5.2.1.1.0.20050423142822.04965cf0@pop6.sympatico.ca
Whole thread Raw
In response to weird SQL statement question  ("Tadej Kanizar" <Tadej.Kanizar@sagit-server.com>)
Responses Re: weird SQL statement question  (Mischa Sandberg <mischa.sandberg@telus.net>)
List pgsql-sql
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!
>
>And, to explain a bit more, here's another example:
>
>INSERT INTO TestTable (Name, Surname) VALUES ('name', 'surname');  .. this
>DOESN'T work
>
>INSERT INTO »TestTable« (»Name«, »Surname«) VALUES ('name', 'surname'); ..
>this DOES work


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.



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: can a function return a virtual table?
Next
From: Christopher Browne
Date:
Subject: Re: How to select from many database ??