I was able to come up with this simple way.
Find records where your column has numbers :
WHERE PATINDEX ( '%[^0-9]%' , [Field Name]) > 1WHERE PATINDEX ( '%[^0-9]%' , [Field Name]) = 0
Find records where your column does not have numbers
WHERE PATINDEX ( '%[^0-9]%' , [Field Name]) = 1
I hope you enjoy this.
No comments:
Post a Comment