Skip to content
Advertisement

How to get partial string in oracle

I need to find all the users in the table that have this pattern

I only know the first 10 digits, the email address can be different.

I did something like this, but I get nothing back

Is there another way that I can capture this data in oracle?

Thank you!

Advertisement

Answer

More a comment that a real answer, but with your sample data your code works well:

Say you have a table like this:

Your query would give

What do you need instead?

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement