EntityDAC

TCustomContext.ExecuteSQL

Executes a SQL statement directly in the database.

Unit

Syntax

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