No Custom Parameters
ExecuteScalar retrieves the first row and first column data field of the specified query.
ExecuteScalar requires that a named database connection already be open, which can done either by using
OpenDatabase or by using the name of a database resource associated with the Cisco Unified Application Designer application.
ExecuteScalar will fail if at least one row is not returned. If it is at all possible that
0 rows are returned by the specified
ExecuteQuery should be used instead and the results parsed appropriately.
|Parameter Name||.NET Type||Default||Description|
|Query *||A SQL SELECT statement designed to return at least one row and one column.|
|Name *||The name of the database connection to query.|
|Parameter Name||.NET Type||Description|
|Scalar||The first row and column field.|