PgDAC

TCustomDADataSet.Execute Method

Executes a SQL statement on the server.

Class

TCustomDADataSet

Syntax

procedure Execute; overload; virtual;

Remarks

Call the Execute method to execute an SQL statement on the server. If SQL statement is a SELECT query, Execute calls the Open method.

Execute implicitly prepares SQL statement by calling the TCustomDADataSet.Prepare method if the TCustomDADataSet.Options option is set to True and the statement has not been prepared yet. To speed up the performance in case of multiple Execute calls, an application should call Prepare before calling the Execute method for the first time.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback