问题
Is it possible to create an unique constraint on a table column, which ignores any non-alphanumeric characters? Especially spaces, dashes and slashes? The constraint should, for example, trigger, if the table already contains a string "test" and the user create a new dataset with the text "te-st" or "t e s t" or even "t - es/t". The table only allows lowercase letters.
来源:https://stackoverflow.com/questions/57710047/unique-constraint-that-only-considers-alphanumeric-characters-on-sql-server