Skip to content

TSQLParseOptions

Set type used to store value(s) from the TSQLParseOption enumeration.

Declaration

Source position: db.pas line 1523

type
  TSQLParseOptions = Set of TSQLParseOption = (spoCreate,spoEscapeSlash,spoEscapeRepeat,spoUseMacro);

Values

Value Description
spoCreate Indicates existing parameters are cleared and re-created, not updated.
spoEscapeSlash Causes the Slash character ('/') to be escaped.
spoEscapeRepeat Causes an escaped character to be repeated.
spoUseMacro Enables macro expansion in a SQL statement.

Description

TSQLParseOptions is a set type used to store zero or more values from the TSQLParseOption enumeration. TSQLParseOptions is used in the TParams.ParseSQL method to indicate the options enabled when the SQL statement is parsed. The set type can be passed as an argument to the method.

See TSQLParseOption for information about the enumeration values and their meanings.

See also

Name Description
TParams.ParseSQL Parse SQL statement, replacing parameter names with SQL parameter placeholders.
TSQLParseOption Represents SQL parser options available to the TParams collection.