TDbConnection.ExecuteScalar(String,Variant[]) Method

<< Click to Display Table of Contents >>

Navigation:  ADONetVCL > Symbol Reference > CNClrLib.ADONet.Client > Classes > TDbConnection > Methods >

TDbConnection.ExecuteScalar(String,Variant[]) Method

Executes the specified CommandText by specifying an array of the parameter values and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.

 

Namespace: CNClrLib.ADONet.Client

expandingSyntax

Parameters

ACommandText

Type: String

AParams

Type: array of Variant

Return Value

Type: OleVariant

expandingSee Also