I am reading data from a CSV text file and when doing the query against a form field I get no results returned... unless I exactly match the case of the word in the file.
This is a file of all employees and their departments, I use the query:
<cfquery name="first" datasource="empinfo">
select *
from bassett.csv
where fname like '%#form.firstname#%'
</cfquery>
If I do a search on a portion of my own name - "Rog" it will find all instances of "Roger" in the file. But if I search on "rog" it finds nothing.
Is there a command or a setting that will allow me to not be case specific?
Thanks!
Roger
This is a file of all employees and their departments, I use the query:
<cfquery name="first" datasource="empinfo">
select *
from bassett.csv
where fname like '%#form.firstname#%'
</cfquery>
If I do a search on a portion of my own name - "Rog" it will find all instances of "Roger" in the file. But if I search on "rog" it finds nothing.
Is there a command or a setting that will allow me to not be case specific?
Thanks!
Roger