Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WILDCARDS 1

Status
Not open for further replies.

ajdesigns

Technical User
Jan 26, 2001
154
GB
Where could I find information /help on sql*plus including wildcards
I am new to oracle reports and I know that the data is returned from an SQL*Plus query. For instance I need to return a field where to data in the fiels starts with * normally I would use something like in the where clause WHERE text_value =*% but this does not work.
I would appreciate Any help
AJD
 
In your case it will be
Code:
WHERE text_value like '*%'
Percentage % replaces any number of characters, while underscore _ may replace a single character.
 
have you tried doing this?

select *
from table_name
where field_name like '%whateverstring%';

???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top