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