Extract numbers out of a stringDeveloped In: SQL — Contributed by: ushastryYesterday on EE I saw a very interesting request from a user for "Extracting numbers out of a string". This could be done in other languages with just 1 liner code but he needed it inside a SELECT query. http://www.experts-exchange.com/Programming/Languages/SQL_Syntax/Q_24855357.html So I came with a very small MySQL function which was doing as needed by the user. I'm not sure whther this is the best way to do this but "There is always room for improvement."
SQL
No Comments yet |
VotesWatches0 members are watching this tool
You must be logged in to track this tool.
Provide Feedback
You must be logged in to comment
|