FireDAC.Stan.Param.TFDParam
Delphi
TFDParam = class(TCollectionItem)
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Stan.Param.pas | FireDAC.Stan.Param | FireDAC.Stan.Param |
Description
Represents a parameter for a query or a stored procedure.
Use the TFDParam class to identify the parameters from a TFDQuery and set its properties. The properties of a TFDParam set the value of a parameter.
Datasets that represent queries and stored procedures create TFDParam objects to represent the parameters of their query or stored procedures.
Each TFDParam object has a name, datatype, parameter type, size, precision, position, array type, and a value.
Example
SELECT * FROM table_name WHERE Param = :Param
- :Param represents the parameter of this query.