Executes a statement that returns a single value. If this method is called on a query that returns multiple rows and columns, only the first column of the first row is returned.
Visual Basic Public Overrides Function ExecuteScalar() As Object
C# public override object ExecuteScalar();
The first column of the first row in the result set, or a null reference if the result set is empty.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |