Re: Use of 'like' in where clause.
using LIKE, you can specify wild-cards: % means any number of characters (corresponds to '*' on file name wild cards, while _ means one single character (? on file names).
Hence,
SELECT * FROM table_name WHERE col_name LIKE 'A%'
would select all records whose col_name start with an 'A'.
Subject
Views
Written By
Posted
8125
April 21, 2005 10:00AM
Re: Use of 'like' in where clause.
2926
April 22, 2005 07:31AM
2533
April 22, 2005 09:22AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.