Answer the question
In order to leave comments, you need to log in
How to replace rows in a column with new ones with a certain length?
there is an items table, there is an item_code column. is a string (varchar), is a certain sequence of numbers.
it is necessary to replace item_code with a short one (last 6 characters) if there are more than 6 characters , that
is, 1234567 -> 234567
123456789-> 456789
I
can’t understand if this is possible and if so, how? regular expressions to use?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question