MySQL Forums
Forum List  »  Newbie

Re: Select Only Digits In A Column
Posted by: Peter Brawley
Date: September 27, 2017 06:35PM

select '12345678901234567<hoopla> ' + 0;

But needing such a trick indicates the numeric and char portions of that column should be in their own separate columns.

Options: ReplyQuote


Subject
Written By
Posted
September 27, 2017 05:54PM
Re: Select Only Digits In A Column
September 27, 2017 06:35PM
September 27, 2017 07:30PM
September 27, 2017 07:48PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.