Re: Looking for help

Поиск
Список
Период
Сортировка
От Papp Gyozo
Тема Re: Looking for help
Дата
Msg-id E17jqKj-0008Ln-00@pompom.freestart.hu
обсуждение исходный текст
Ответ на Re: Looking for help  ("Patrick Hatcher" <PHatcher@macys.com>)
Список pgsql-php
2002. augusztus 28. 01:05 dátummal Patrick Hatcher ezt írta:
>  Use quotes around the field and table names that are not all lower
> case:
>
> Ex:
> $result = pg_query($db," Select 'Field1',field2, 'fEild3'
> From'TABLE1' ");
>

AFAIK, opstgres needs double quotes to handle objects' names literally
-- as written:

$result = pg_query($db,' Select "Field1",field2, "fiEld3"
 From "TABLE1"');

text within simple quotes represents string literals.

--
Papp, Győző
- pgerzson@freestart.hu


В списке pgsql-php по дате отправления:

Предыдущее
От: "Gary Hoffman"
Дата:
Сообщение: Re: Web Hosting
Следующее
От: Keary Suska
Дата:
Сообщение: Re: Looking for help