26-2-203. When production of witness may be required. If the witness is imprisoned in the county where the action or proceeding is pending, the witness's production may be required. In all other cases, the witness's examination, when allowed, must be taken upon deposition.