Bde.DBTables.TUpdateSQL.SQL

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TUpdateSQL

Delphi

property SQL[UpdateKind: TUpdateKind]: TStrings read GetSQL write SetSQL;

C++

__property System::Classes::TStrings* SQL[Data::Db::TUpdateKind UpdateKind] = {read=GetSQL, write=SetSQL};

Description

Returns a specified SQL statement used when applying cached updates.

Returns the SQL statement in the ModifySQL, InsertSQL, or DeleteSQL property, depending on the setting of the UpdateKind index. UpdateKind can be any of the following:



Value Meaning

ukDelete

Return the query object used to execute DELETE statements (DeleteSQL).

ukInsert

Return the query object used to execute INSERT statements (InsertSQL).

ukModify

Return the query object used to execute UPDATE statements (ModifySQL).



See Also