Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LIKE Operator
Message
General information
Forum:
Oracle
Category:
Other
Title:
Miscellaneous
Thread ID:
01372405
Message ID:
01372506
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
The Oracle wild cards for the LIKE operator are % and _ (underscore). The percent sign is like an asterisk while the underscore is position wildcard

LIKE 'TESTLAST%' returns all matches that start with TESTLAST

LIKE '%LAST%' returns any rows with LAST anywhere in the string.


>Hi:
>
>I have two Oracle databases, one is at the client site and the other is at our office. Both are populated with the same tables and data.
>
>I run the following SQL command in enterprise manager:
>
>SELECT * FROM VW_PERSON_PROFILE_BY_NAME WHERE UPPER(FULL_NM) LIKE 'TESTLAST, DALE W'
>
>At our office, the results return one record, but on the client site the result returns zero records. Is there a setting in Oracle that would cause the LIKE operator to behave differently?
>
>Thanks!
>
>--Paul
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform