EntityDAC

TEntityConnection.ExecuteSQL Method

Executes a SQL statement directly in the database.

Class

TEntityConnection

Syntax

procedure ExecuteSQL(SQLStatement: ISQLStatement); overload;

Parameters
SQLStatement
Specifies the SQL statement to be executed and its parameters.

Remarks

Call the ExecuteSQL method to execute a SQL statement directly in the database. Supply the statement as a TSQLStatement class instance, which encapsulates the SQL statement text and its parameters. The TSQLStatement.Params array must contain all IN and OUT parameters defined in the SQL statement. For OUT parameters provide any values of valid types so that they are explicitly defined before call to the method.

See Also

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