I would like to check if the particular db column has one or more of the following characters depending on the condition. I guess there is no api/function in the SQL Server like hasNumericChar() etc. right ? How can we check it ?
- mixed case (considering sql queries are not case sensitive how can we do this ? )
- special_chars
- Numeric
Finding rows where a particular column only contains digits:
Mixed case is going to be tricier:
(Unfortunately, you can’t use ranges, like
[a-z], since that expands toaAbBcC)What are the special characters?