Quantcast
Channel: TSQL pattern or reg expression to ensure all rows returned for varchar column are strictly alphanumeric - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by hicham abdedaime for TSQL pattern or reg expression to ensure all...

It is possible to add Regular Expression parsing to SQL server, using a CLR function. See here for a great example click here...

View Article



Answer by Rahul Tripathi for TSQL pattern or reg expression to ensure all...

You can try the oppositeWHERE col1 NOT LIKE '%[^A-Za-z0-9]%'

View Article

Answer by Alex K. for TSQL pattern or reg expression to ensure all rows...

Where the value does not match a string containing something that is not a letter or number:WHERE F NOT LIKE '%[^A-Z0-9]%'(These are patterns, not Regular Expressions)

View Article

TSQL pattern or reg expression to ensure all rows returned for varchar column...

I have researched this, but the most obvious answer on stackoverflow is for a converse question, and I can't quite get it to match my situation.I need a TSQL reg expression to ensure all rows returned...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images