Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Searching for percent character (%) in a string

626975Mar 19 2008 — edited Mar 19 2008
Hi All,

A strange request from one of our developers that I have not come across before.

Is there a way to search for a percent character (%) in a string and also use the wildcard special character (%)?
i.e. to return all values with a percent character (%)

e.g. select column1 from table1 where column1 like '%%';
When I do this all records are returned.

Regards!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2008
Added on Mar 19 2008
5 comments
1,045 views