Parsing First, Last, Middle Initial and suffix from full name

Ali Ahad 91 Reputation points
2024-04-01T01:59:34.55+00:00

I am trying to extract first last middle initial and suffix from a name field and there's no set pattern please see the pattern of the in my table

LOPEZ ROQUE, CARMELINA
ORTEGA, GISELLE A A
RUSSELL JR,  WILLIE C
NUNEZ, LILIANA

I have looked online and found different solutions but it doesn't check for suffix in a name. Not sure if there's a solution to separate it properly. Please let me know.

SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
42 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,552 questions
{count} votes