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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mixed Case Character Data

Status
Not open for further replies.

TEM3

Technical User
Dec 6, 2004
324
US
I am using DB Explorer to modify data in some Oracle tables. Using the following example to find records:

SELECT * FROM "LABSYS"."ANALYST" "ANALYST" WHERE "ANALYST"."Name" LIKE '%Tra%'

I would like to know if there is SQL syntax to convert ANALYST.Name and my query string ("Tra" in this case) to uppercase, since the data is mixed and some is all uppercase.
 

Try:... WHERE UPPER("ANALYST"."Name") LIKE '%TRA%' [3eyes]


----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Will try. Thanks.

Would:

WHERE UPPER("ANALYST"."Name") LIKE UPPER('%tra%')

work also??
 

Yes.



----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top