Icon QuotedSQLStr Method

function QuotedSQLStr(const Value: String): String

Usage

Call the QuotedSQLStr method to format a string constant so that it can properly used as a literal constant in an SQL statement. This method converts escapes all single quotes and converts all characters less than #32 (space) into the #<ASCII value> syntax.
Image