I\'m trying find the best way to remove nonnumerical data from a varchar in SQL e.g.
\'(082) 000-0000\' to \'0820000000\' or \'+2782 000 0000\' to \'0820000000\'
What flavour of SQL backend are you using? If there's a regexp_replace kind of function, you could use that to replace [^0-9] with nothing.