Quotes

From: Jascha Schubert <JTSMailing(at)gmx(dot)net>
To: pgsql-php(at)postgresql(dot)org
Subject: Quotes
Date: 2002-11-04 18:05:36
Message-ID: 200211041905.36251.JTSMailing@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Ok next problem ;)

I've a table with a field called end in it. In Postgres now this seems to be a
resevated keyword. So i have to put in i quotes. Now: Postgres want "end" and
mysql want `end`.
Just one question: Is there an quoting mechnism that will work for both dbs ?
Otherwise I will just use an $db_quote variable.

btw: why are they doing this ?

jascha

Browse pgsql-php by date

  From Date Subject
Next Message Keary Suska 2002-11-04 19:40:37 Re: Booleans
Previous Message Jascha Schubert 2002-11-04 17:38:56 Re: Booleans