Executes the SQL statement.
Returns Nothing/null if no record was selected, otherwise the first field from the
returned result.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public Object ExecuteScalar( ISQLStatement sqlStatement ) |
Visual Basic |
---|
Public Function ExecuteScalar ( _ sqlStatement As ISQLStatement _ ) As Object |
Visual C++ |
---|
public: Object^ ExecuteScalar( ISQLStatement^ sqlStatement ) |
Parameters
- sqlStatement
- Type: DatabaseObjects.SQL..::..ISQLStatement
[Missing <param name="sqlStatement"/> documentation for "M:DatabaseObjects.ConnectionScope.ExecuteScalar(DatabaseObjects.SQL.ISQLStatement)"]
Return Value
[Missing <returns> documentation for "M:DatabaseObjects.ConnectionScope.ExecuteScalar(DatabaseObjects.SQL.ISQLStatement)"]