Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL Question

Re: SQL Question

From: Pat Hildebrand <pat_at_ssc.upenn.edu>
Date: Thu, 02 Aug 2001 23:44:45 -0700
Message-ID: <F001.0035EC99.20010802205831@fatcity.com>

> select table_name from dba_tables where table_name like 'EDL_WORK_%'
> and I received the following
>
> TABLE_NAME
> -------------------------
> EDL_WORKSTATION_LOCATION
> EDL_WORK_AR_ENTITIES
>
> Why would I be receiving the first record (EDL_WORKSTATION) if I
> try EDL_WORK_A% I get the correct result.
>
> Is there something about the _% combination ?

_ is the wild card for matching any single character. Therefore, as long as there is at least one character _% and % will return the same thing.

           Pat

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Pat Hildebrand
  INET: pat_at_ssc.upenn.edu

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 Fri Aug 03 2001 - 01:44:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US