The CommandText property is a string value that indicates the main executable text for the command. In most situations, the CommandText property will be an SQL statement or stored procedure name. The ActiveConnection property links the command to a specific data source connection.