[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TSQLParseOptions

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

Declaration

Source position: db.pas line 1301

type TSQLParseOptions = set of (

  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

TParams.ParseSQL

  

Parse SQL statement, replacing parameter names with SQL parameter placeholders

TSQLParseOption

  

Represents SQL parser options available to the TParams collection


Documentation generated on: May 14 2021