Knight Data Access Layer
ExecuteScalar(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface > ExecuteScalar Method : ExecuteScalar(String) Method
The SQL text to execute
Execute Scalar Method
Syntax
Overloads Function ExecuteScalar( _
   ByVal sql As String _
) As Object
Dim instance As IDatabaseProvider
Dim sql As String
Dim value As Object
 
value = instance.ExecuteScalar(sql)
object ExecuteScalar( 
   string sql
)
Object* ExecuteScalar( 
   string* sql
) 
Object^ ExecuteScalar( 
   String^ sql
) 

Parameters

sql
The SQL text to execute
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDatabaseProvider Interface
IDatabaseProvider Members
Overload List