TurboSQL Guide

String Literals

Previous  Top  Next

String literals are enclosed in single quotes. To denote a single quote within a string literal, insert two of them. These are samples for valid string literals:

'This is a string literal'

'This is a ''single-quoted'' string literal'

'This is a "double-quoted" string literal'

And these are invalid:

'This isn't a valid string literal'


Earlier version of TurboDB allowed also double quotes for string literals. For enhanced SQL compatibility, double quotes are now restricted to denote table and column identifiers.