I am trying to filter some SQL server data and require results with the following conditions:
- where the field has alphanumeric characters, case insensitive
- where the field has certain punctuation (apostrophe and hyphen)
- where the field has no spaces
Is there an efficient way to do this using CHAR in SQL Server or does anybody have a better solution?