TCustomDADataSet.Execute Method

Executes a SQL statement on the server.




procedure Execute; overload; virtual;


Call the Execute method to execute a SQL statement on the server. If SQL statement is a 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-2018 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback