Represents commands performed on the Adaptive Server and encapsulates either dynamic SQL statements or stored procedures. It provides the following methods to execute commands on the Adaptive Server Database:
ExecuteNonQuery – Execute command that does not return a resultset
ExecuteScalar – Execute command that does not return a resultset
ExecuteReader - Execute command that returns a single value
ExecuteXmlReader - Execute command that returns XML
Component
IDbCommand, IDisposable
“Using AseCommand to retrieve and manipulate data” and “Accessing and manipulating data”.
If you are calling a stored procedure that takes parameters, you must specify the parameters for the stored procedure. For more information, see “Using stored procedures” and “AseParameter class”.