Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSQLParseOptions

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

Declaration

Source position: db.pas line 1519

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: Oct 27 2024