STRING type

The type supports character sequences of any length greater or equal to 0.

Syntax

STRING

Literals

'c [ ... ]'

c: Any character from the Unicode character set.

Use \ to escape special characters (e.g. ' or \). You can use double quotes (") instead of single quotes (') to delimit a string literal.

Examples

SELECT 'Spark';
-- Spark
SELECT CAST(5 AS STRING);
-- 5
SELECT 'O\'Connell'
-- O'Connell
SELECT '서울시'
-- 서울시
SELECT ''
--
SELECT '\\'
-- \