QUOTE returns a CHARACTER string that represents x as a valid quoted string.
>>-QUOTE(x)----------------------------------------------------><
x should have CHARACTER type, and if not, it is converted thereto.
If x contains single quotation marks, each is replaced by two consecutive single quotation marks.