select * from sonusrpt where UPPER(subject) like '%GENERAL%';

Rick



                                                                                       
                            
                    "Nguyen,                                                           
                            
                    David M"             To:     Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>       
                    <david.m.nguy        cc:                                           
                            
                    [EMAIL PROTECTED]>           Subject:     LIKE  and % operator             
                            
                    Sent by:                                                           
                            
                    root@fatcity.                                                      
                            
                    com                                                                
                            
                                                                                       
                            
                                                                                       
                            
                    03/04/2002                                                         
                            
                    03:33 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    ORACLE-L                                                           
                            
                                                                                       
                            
                                                                                       
                            




I am running oracle8i on solaris8.  I have a word ( General ) in my column
named "subject", I try to run SQL using LIKE and % to grep any data having
the word ( General ) but it displayed no rows selected.  Does someone have
any idea why?  Below is my SQL I used.

SQL> select * from sonusrpt where subject like '%general%';

no rows selected.


Thanks,
David
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Nguyen, David M
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to