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!

Searching for Fields With a Question Mark Character Contained Within Any Position Using WildCard

Status
Not open for further replies.

RB3

Technical User
Mar 8, 2005
2
US
All:

Using Crystal XI to query against an Oracle database.

Am attempting to find unauthorized (by our standards) characters in specific a database field. Using the * wild card (many characters), I need to search for any occurrences of a question mark as well as many other characters (example below).

However, I think that since Crystal (or Oracle) interprets the question mark as a "one character" wildcard, the query returns all records which have any data in the field whatsoever.

Any idea how to wild-card search for any occurrence of a question mark in any position of a particular database field using Crystal XI against an Oracle database?


{POITEMVEN.VEN_ITEM} like ["*!*", "*#*", "*$*", "*%*", "*&*", "*(*", "*)*", "*?*", "*@*", "*^*"]

Most appreciated!

Crystal Novice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top