Обсуждение: Quotes

Поиск
Список
Период
Сортировка

Quotes

От
Jascha Schubert
Дата:
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