Re: syntax problem - Mailing list pgsql-php

From Chris
Subject Re: syntax problem
Date
Msg-id 4DCC669A.6090509@gmail.com
Whole thread Raw
In response to syntax problem  (hatem gamal elzanaty <hatem@softpro.bz>)
List pgsql-php
On 13/05/11 07:09, hatem gamal elzanaty wrote:
> hi,
> i'm a php/mysql developer and want to work also with php/postgresql can
> you please tell me if there is a replacment for this sign ` in mysql to
> work with in postgresql to avoid problem of naming tables with reseved
> words

You can put double quotes around them but you have to do it all the time
so if you can, I'd suggest renaming the fields and tables to avoid those
words in the first place.

The list Rich mentioned is here:
http://www.postgresql.org/docs/current/static/sql-keywords-appendix.html

--
Postgresql & php tutorials
http://www.designmagick.com/


pgsql-php by date:

Previous
From: Rich Shepard
Date:
Subject: Re: syntax problem
Next
From: Juan Manuel Acuña Barrera
Date:
Subject: Fwd: syntax problem