| From: | Papp Gyozo <pgerzson(at)freestart(dot)hu> |
|---|---|
| To: | "Patrick Hatcher" <PHatcher(at)macys(dot)com>, "Joseph L Montes" <jmontes(at)zenplex(dot)com> |
| Cc: | pgsql-php(at)postgresql(dot)org |
| Subject: | Re: Looking for help |
| Date: | 2002-08-28 00:06:14 |
| Message-ID: | E17jqKj-0008Ln-00@pompom.freestart.hu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)freestart(dot)hu
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zhidian Du | 2002-08-28 01:21:32 | ResultSetMetaData in PHP? |
| Previous Message | Gary Hoffman | 2002-08-27 23:23:58 | Re: Web Hosting |