TDbConnection.ExecuteScalar(String) Method

<< Click to Display Table of Contents >>

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

TDbConnection.ExecuteScalar(String) Method

Executes the specified CommandText 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

Return Value

Type: OleVariant

expandingSee Also