How To Split full Name into First Name, Middle Name, Last Name and suffix in TSQL
问题 For E.g I have a FullName Column in table FullName ------------------ Smith Johns Sr James Macoy Krushit J Patel II Sheldon Devid Jeff vandorf Jr Steve Smith I And I want to Result Like |FirstName | Middle Name | lastName | Suffix | |--------------------------------------------| |Smith | NULL | Johns | Null | |James | NULL | Macoy | Null | |Krushit | J | Patel | II | |Sheldon | NULL | Devid | Null | |Jeff | Null | vandorf |Jr | |Steve |Smith | Ronder |I | 回答1: As others have commented, the