Iulian Popescu said:
> Hi,
>
> Would someone please explain me the semantics of this function? I've
> tried:
>
> SELECT quote('AAA'AAAA') AS value
>
> And it returns the following error:
>
> Error: near "AAAA": syntax error (1)

Try SELECT quote('AAA\'AAAA') AS value

Not sure what purpose this function is supposed to server, since you need
to escape the string before passing it to this function.  As near as I can
tell this defeats the purpose of the function.

Clay

-- 
Lazarus Notes from Lazarus Internet Development
http://www.lazarusid.com/notes/
Articles, Reviews and Commentary on web development

Reply via email to