REGEXP_LIKE starting by h7 or r7 and finishing is not with _rtrd

I'm using oracle 11.2.0.3. How can I write regexp_like who will give me names beginning with h7 or r7 and finishing is not with _rtrd?

Hello

You can do all the work with only 1 REGEXP_LIKE, but it is tedious:

WHERE REGEXP_LIKE (table_name

, '^(R| H)7'       ||  -at the beginning

'.*'            ||  -so one of these channels...

'([^D]'      ||

'| [^ R]. D'     ||

'| [^ L]. RD'.

'| [^ R]. TRD' |

'| [^_] RTRD' |

($ ')' - at the end

)

Tags: Database

Similar Questions

Maybe you are looking for

  • Bookmark sorting

    I have more than a page of bookmarks. When I try to sort them by name, only three of them appear in the sidebar. One for Fox News and the other two are Facebook. I have not all Facebook bookmarks in my bookmark list. I don't know whence these two.

  • Satellite P10 - repair on the recovery disc option

    My Satellite P10 crashed, which suggests an error of hard disk may be imminent, I have a recovery disk, but it doesn't have a repair option, only a full recovery. As I would like to try to retrieve some data, is there a repair option, normally associ

  • A9T85A: Used to scan HP envy 4502

    The printer scan software HP either directly from the printer via "scan-to-computer".Fact following troubleshooting:1. have disconnected and reconnected (outlet)2. Uninstall and reinstall the software of HP envy3 used HP print and scan doctor (result

  • Lines of 5V USB-6212

    Two questions: 1) Anyone know what are the lines of 5V on USB-6212? They are input or output or external power? Is there any need of external power or it is powered by USB? 2) You can use P0.x, P1.x and P2.x (total 32 lines) as digital outputs?

  • Laptop does not start back upward.

    I lost a few game files on my laptop of sisters of friends and attempt to recover, I went to restore the computer from an earlier date, this week. Then, after that the restoration was supposedly made, I got a BSOD. The stop code is STOP: 0x0000006B (