The first process, in all criminal causes, and in all courts, to compel the attendance of a witness, shall be a subpoena, directed to the sheriff or to some proper officer of the county where the witness may reside, stating the time and place for the appearance of the witness, the parties to the cause, and the party at whose instance the witness is subpoenaed. The names of the witnesses, if there be not exceeding six of them, residing in the same county, shall be inserted in the same subpoena.