UniDAC

TUniConnection.ParamByName Method

Provides access to output parameters and their values after executing an SQL statement with the TCustomDAConnection.ExecSQL method.

Class

TUniConnection

Syntax

function ParamByName(const Name: string): TUniParam;

Parameters
Name
Holds the parameter name (should be equal to the one that occurred in the SQL statement).
Return Value
a reference for the matching parameter.

Remarks

Call the ParamByName method to get access to output parameters and their values after executing an SQL statement with the TCustomDAConnection.ExecSQL method. The Name parameter should equal to the parameter name as it occurred in the SQL statement.

This method implicitly calls the TUniSQL.ParamByName method of TUniSQL.

See Also

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