I'm writing a function in SQL that we can use to validate First/Middle/Last names we have in a given table.
At the moment I'm working on a list of ascii codes for characters that I'm going to consider invalid and strip out of the input.
My plan is to create a table which contains the character codes of those characters I consider to be invalid, and to write a cursor that will replace each invalid character from the current input record its working on.
Should I just work my way through the entire ascii table or has anyone ever seen a similar effort like this that I can look at to build from?