A SQL statement or stored procedure that is executed against a SQL Anywhere database.
Visual Basic
Public Sub New( _
ByVal cmdText As String, _
ByVal connection As SAConnection, _
ByVal transaction As SATransaction _
)
C#
public SACommand(
string cmdText,
SAConnection connection,
SATransaction transaction
);
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.
transaction The SATransaction object in which the SAConnection executes.