RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLUpdateObject.GetSQL Method

Returns the SQL statement that performs a specified update operation.

Pascal
function GetSQL(UpdateKind: TUpdateKind): TStrings; virtual; abstract;
C++
virtual __fastcall TStrings GetSQL(TUpdateKind UpdateKind) = 0;

Override GetSQL to allow the update object to access an SQL statement that applies an update of the type specified by UpdateKind.  

GetSQL provides the underlying implementation for the SQL property in the descendant class TUpdateSQL

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!