'SQL name parsing

I have a name field that includes father, mother, spouse, child, and sibling and I need to parse out the names into father name, mother name, spouse name, child name and sibling name fields. An example is father John smith mother Jane doe. How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source