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
OnTextChanged TextBox Issue
Installing Windows 2008 Server R2 on a Dell PE 2850
COMPAQ V6000 HP, WON'T BOOT WITH BATTERY INSERTED, DC BLUE LIGHT PULSES DIM
Microsoft Information Store stalling issues
Asp.Net I am having problem trying to access a page & passing it querystring value.
Migrating SharePoint to another server
A* algorithm 2D snake with obstacles max route
Multiple Dll's in Delphi
Problems Updating VMware Workstation, Cannot Uninstall Old workstation
Domain user account continuously getting locked out.