Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Pattern maching question
If you have OWA, the owa_pattern package is very good for this stuff. I
don't know why they haven't made that one into a regular dbms_ or utl_
package yet. If you can, steal that package!
-----Original Message-----
From: Glenn Travis [mailto:Glenn.Travis_at_wcom.com]
Sent: Monday, September 18, 2000 6:41 PM
To: Multiple recipients of list ORACLE-L
Subject: Pattern maching question
How can I get all the contacts which start with numbers? PLEASE NOTE: contact_name is a character field.
select contact_name from contact
where contact_name like '[0-9]%'
does not work (like other dbms...)
My workaround is;
select contact_name from contact
where contact_name < 'A'
but I want to know the proper syntax for the first query.
-- Author: Glenn Travis INET: Glenn.Travis_at_wcom.com 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: ListGuru_at_fatcity.com (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).Received on Tue Sep 19 2000 - 08:41:02 CDT
![]() |
![]() |