Literal char, varchar, and text values—or their equivalents—must be enclosed in single quotation marks.
'''You can have cake if you bake it,'' Ed claims.'
The first and last quotation marks delimit the character string. The two internal pairs of quotation marks are interpreted as embedded single quotation marks.
Replication Server generates single quotation marks when it substitutes a character value for a variable in a function-string template.