Oracle
LIKE and Oracle
by gregs on Oct.21, 2005, under Oracle, database
Famvir For Sale
Lotrisone No Prescription
Buy High Love No Prescription
Buy Online Prinivil
Buy Zimulti Online
Mentax For Sale
Zelnorm No Prescription
Buy Shoot No Prescription
Buy Online Naprosyn
Buy Flomax Online
Adalat For Sale
Erythromycin No Prescription
Buy Medrol No Prescription
Buy Online Urispas
Buy Lotrisone Online
Viramune For Sale
Didronel No Prescription
Buy Speman No Prescription
Buy Online Prandin
Buy Colchicine Online
Amitriptyline For Sale
Lopressor No Prescription
Buy Rhinocort No Prescription
Buy Online Atarax
Buy Pamelor Online
Leave a Comment
more...
I never spotted this before but the LIKE operator is case sensitive! Which was skewing my search results quite severely. The work around is to put everything into upper case, both the values in the column you are performing the search against as well as the value of the varibale you are searching for.
CODE:
-
SELECT col1, col2, col3
-
FROM table
-
WHERE UPPER(col4) LIKE '%UPPER(yourValue)%'