[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return parameter by name
Source position: sqldb.pp line 516
public function TCustomSQLQuery.ParamByName( |
const AParamName: string |
):TParam; |
AParamName |
|
Name of parameter to look for. Case insensitive. |
Resulting TParam instance.
ParamByName is a shortcut for Params.ParamByName. The 2 following pieces of code are completely equivalent:
Qry.ParamByName('id').AsInteger:=123;
and
Qry.Params.ParamByName('id').AsInteger:=123;
|
Return a parameter by name |
|
|
Parameters detected in the SQL statement. |