Nemo Terry wrote:
> But I must use it in function,so...
> Do you have another solution?
>>> because obj_name from another table has value like this:S'pore High
>>> Polymer.
>>> Following error raises:
>>> ERROR: syntax error at or near "pore"
You'll want to look into the quote_ident() and quote_literal() functions
when constructing queries like this.
See functions and operators / string functions for details.
--
Richard Huxton
Archonet Ltd