FireDAC.Stan.Param.FDVar2SQLTyped

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FDVar2SQLTyped(const AValue: Variant; AFieldType: TFDMacroDataType): String;

Properties

Type Visibility Source Unit Parent
function public FireDAC.Stan.Param.pas FireDAC.Stan.Param FireDAC.Stan.Param

Description

Returns a string depending on the Variant and TFDMacroDataType types.

The FDVar2SQLTyped function returns a string depending on the AValue and AFieldType types.

AValue represents the value you want to convert.

AFieldType represents a TFDMacroDataType, which can be:

  • mdRaw
  • mdInteger
  • mdFloat
  • mdDate
  • mdTime
  • mdDateTime
  • mdString
  • mdIdentifier
  • mdBoolean
  • mdUnknown

See Also