How do I select all the lines where the varchar field contains non-digit characters?
I'm not a t-SQL user, so please take this as a disclaimer. Sorry if this is not a perfect answer to your question, but I am using MySQL which can use regular expressions. Now depending on what you actually intend to do .. this may not be your final solution, but here's a quick example of a query I could run:
SELECT * FROM table WHERE columnName REGEXP '^[0-9]+$'
But again not sure if t-sql can do it, but from this link: http://www.sqlteam.com/article/regular-expressions-in-t-sql it seems like it does. Hopefully this will be the beginning of your decision.
Again, not entirely sure what your end use is ... but if I only wanted numbers, I would use some cleanup before loading the data into the database, rather than cleanup after that ... I always find it to be easier route. (You may have started with pre-existing data)
Hope this helps!
a source to share