Character-string literals
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Character-string literals
A character‑string literal is a string of characters
enclosed in single quotation marks ( ''). To include
a single quotation mark in a character‑string literal, precede it
with an additional single quotation mark.
The INSERT statements in the following example show
embedding quotation marks in character‑string literals:
|
A character string literal can contain multi‑byte characters in the character set used by the SQL client. Only single‑byte ASCII‑encoded quote marks are valid in the syntax.