SACommand(String, SAConnection) constructor

A SQL statement or stored procedure that is executed against a SQL Anywhere database.

Syntax
Visual Basic

Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As SAConnection _
)
C#

public  SACommand(
   string  cmdText,
   SAConnection connection
);
Parameters
  • cmdText   The text of the SQL statement or stored procedure. For parameterized statements, use a question mark (?) placeholder to pass parameters.

  • connection   The current connection.

See also