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
How can you search e-mail within Outlook 2010 and not use the index?
New Hire Workflow in WSS
Roaming Profiles in Windows 7 Pro and SBS 2008
MPP microsoft project plan. How can i open a file created in ver 2010 in MPP 2003 or 2007.
Mysql Query to select from two tables
Grub menu in not loading on ESXi 4
Excel 2007 Can Not Display Images From Web
Diffrence between debug & release versions
SSRS Combine two datasets into one data region - Must be in report not in SQL server
class