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
SQL Server 2008 Licensing
Exchange 2007 SBS - Cannot send external e-mail.
Ho Do you Create a timeline Planner/diary in vb.net
yum install 7 Zip
Help with mysql delete duplicates query
Mac UNC directory for scanning
QuickBbooks and Hamachi VPN
Class C to Class B/ Domain Controller Upgrade Windows to 2008 R2
Setting up Domain Trusts
mcafee EPO script to remove agent and virusscan