SQL: parse the first, middle and last name from a fullname field

后端 未结 23 1627
粉色の甜心
粉色の甜心 2020-11-27 10:47

How do I parse the first, middle, and last name out of a fullname field with SQL?

I need to try to match up on names that are not a direct match on full name. I\'d

23条回答
  •  孤城傲影
    2020-11-27 11:45

    1. Get a sql regex function. Sample: http://msdn.microsoft.com/en-us/magazine/cc163473.aspx
    2. Extract names using regular expressions.

    I recommend Expresso for learnin/building/testing regular expressions. Old free version, new commercial version

提交回复
热议问题