MySQL Forums
Forum List  »  Portuguese

remover letras e zeros à esquerda
Posted by: Hugo ARaujo
Date: February 05, 2025 05:51AM

como faço faço para remover letras e zeros à esquerda

Exemplo:
F00801

Pretendido:

801

Eu fiz TRIM(LEADING 'F' FROM i.external_code) AS Cod_Forn
e ficou 00801 mas, eu quero que fique 801

cps

Options: ReplyQuote


Subject
Views
Written By
Posted
remover letras e zeros à esquerda
80
February 05, 2025 05:51AM


Sorry, only registered users may post in this forum.

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.