An action upon a promissory note against persons, any one of whom resides in the state at the commencement of the action and was a party to said note when first delivered, shall be tried in the county in which some defendant who was a party to said note when first delivered shall reside at the commencement of the action; or if none of the defendants shall reside in the state, the same may be tried in any county which the plaintiff shall designate in his complaint, subject, however, to the power of the court to change the place of trial in the cases provided by statute.
SDCL 15-5-7