TMedConnection.Execute TMedConnection

function Execute(const SQL: string; Params: TParams = nil; Cache: Boolean = False): Integer;

Description

Executes non-query SQL command. SQL commands which does not return result set can be executed without the overhead of TMedQuery cmponent. Pass command text as SQL and its parameters as Params .

Method returns the number of records affected by command execution.

See also: TMedQuery.ExecSQL