In an action against several defendants, the court may, in its discretion, render judgment against one or more of them, leaving the action to proceed against the others, whenever a several judgment is proper.

SOURCE: CCP § 579.