how to trim leading zeros from alphanumeric text in mysql function -


what mysql functions there (if any) trim leading zeros alphanumeric text field?

field value "00345abc" need return "345abc".

you looking trim() function.

alright, here example

select trim(leading '0' myfield) table 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

visual studio - Deleting lines of code in a text editor -

What's the encoding type of Android 2.2 push message? -