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

Home -> Community -> Usenet -> c.d.o.misc -> Re: how to solve it?

Re: how to solve it?

From: Andreas Dunker <ADunker_at_picture-safe.de>
Date: 1997/07/09
Message-ID: <33c33452.344415@194.77.199.18>#1/1

On Mon, 07 Jul 1997 15:44:27 -0700, Jean Xu <xu_at_platinum.com> wrote:

>I try to select some records from a table as following:
>
>SELECT * from file
>where filename='file.sql';
>
>It did not return any rows(there is one record satisfied this
>condition). I think the reason is the dot(.) in the filename. Can
>anybody tell me how to make it work?

There might be spaces in front of or after the text. Try

SELECT * FROM file_tab
WHERE filename LIKE '%file.sql%';

Andreas


Andreas Dunker                    2B || ! 2B
adunker_at_picture-safe.de        (W. Shakespeare)
Received on Wed Jul 09 1997 - 00:00:00 CDT

Original text of this message

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