Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Jul 4, 2011 11:09 AM by 873005
Square bracket  wild card is not working
Jul 4, 2011 5:29 AM
i am trying to run 1 simple query but it is not giving appropriate result as per my understanding... Please help
I tried to fetch data using LIKE operator with SQUARE BRACKET  wild card. Below are the query.
select * from address where homeaddress like '%[@!#]%';
as per my understanding this will return the coulmn which contain @ or ! or # but the the query return the 0 rows and there is many columns which contain these special characters...
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: Square bracket  wild card is not working
Jul 4, 2011 11:09 AM
in response to
oracle have different function for this known as REGEXP_LIKE (user_name, '[^A-Za-z0-9]')....