FireDAC.Stan.Param.TFDParam

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TCollectionItemSystem.Classes.TPersistentSystem.TObjectTFDParam

Delphi

TFDParam = class(TCollectionItem)

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.

See Also