Re: Looking for help - Mailing list pgsql-php

From Papp Gyozo
Subject Re: Looking for help
Date
Msg-id E17jqKj-0008Ln-00@pompom.freestart.hu
Whole thread Raw
In response to Re: Looking for help  ("Patrick Hatcher" <PHatcher@macys.com>)
List 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 by date:

Previous
From: "Gary Hoffman"
Date:
Subject: Re: Web Hosting
Next
From: Keary Suska
Date:
Subject: Re: Looking for help