Answer the question
In order to leave comments, you need to log in
How to create a SQL trigger to "normalize" a phone number?
There is a field with a phone number in the database, it is a regular text field.
I didn't deal with triggers before, it is necessary that a field with a value of the form, for example "+7 (912) 123-12387 after 18" be converted to the form "791212312387" i.e. Throw out everything except numbers from the string. Is it possible to do so?
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