RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBUpdateSQL.InsertSQL Property

Specifies the SQL INSERT statement to use when applying a cached insertion of a record.

Pascal
property InsertSQL: TStrings;
C++
__property TStrings InsertSQL;

Set InsertSQL to the SQL INSERT statement to use when applying an insertion to a dataset. Statements can be parameterized queries. To create a INSERT statement at design time, use the UpdateSQL editor to create statements, such as:

insert into Country
    (Country, Currency)
    values (:Country, :Currency)

At run time, an application can write a statement directly to this property to set or change the INSERT statement. 

 

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