Microsoft
Software
Hardware
Network
Question : Oracle SQL containing word
Hi experts,
Assumed I have two records which one of fields (e.g. DESC) has this data:
- first record --> "OTHER LABORATORY ANIMALS"
- second record --> "OTHER ANIMAL ABC"
Using keyword "ANIMAL" in search criteria and if we use DESC like '%ANIMAL%', we will end up with getting two records.
What oracle sql command can I use for getting only second record (get only 'ANIMAL' and exclude 'ANIMALS')?
Thanks for your help.
Answer : Oracle SQL containing word
select * from table where REGEXP_LIKE(DESC, /[:space:]ANIMAL[:space:]/
);
use this one
Random Solutions
Resource Booking in Outlook 2003/07
Error "Cannot Quit Visual FoxPro" when closing form with embedded OLE MapPoint control
Website doesnt display correctly in IE7
How can I "cad-cam" an entire car body into fiberglass ?
Changing Allow/Block settings on Autodiscover prompt in Outlook
Session Timeout during Session
WMIC Get Make, Model and Serial Number
Unattended Windows 7 Installation answer file not working
Excel - VBA text formatting
How to redirect requests to a particular web site to a local server?