Re: weird SQL statement question
| От | Frank Bax |
|---|---|
| Тема | Re: weird SQL statement question |
| Дата | |
| Msg-id | 5.2.1.1.0.20050423142822.04965cf0@pop6.sympatico.ca обсуждение исходный текст |
| Ответ на | weird SQL statement question ("Tadej Kanizar" <Tadej.Kanizar@sagit-server.com>) |
| Ответы |
Re: weird SQL statement question
|
| Список | 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 по дате отправления: