How can I cancel case-sensitive in database fields when searching

L

lollygagger

When doing a query on data base files, I would like to be able to turn off
case sensitive. How can I do that?
 
J

Jerry Whittle

Access isn't case sensitive. What brand of database are you linking to?

If Oracle, you can't turn it off. Instead you need to use the Upper function
to make everything upper case. Of course this messes up using a conventional
index.

WHERE Upper([TheField]) = Upper([YourParameter])

You could use something convoluted like below:

WHERE [TheField] = 'SMITH'
OR [TheField] = 'Smith'
OR [TheField] = 'smith'
 
L

lollygagger

I'm very new to Access. I was asking about Access Data base and you answered
my question by letting me know it is not case-sensitive. Thanks

Jerry Whittle said:
Access isn't case sensitive. What brand of database are you linking to?

If Oracle, you can't turn it off. Instead you need to use the Upper function
to make everything upper case. Of course this messes up using a conventional
index.

WHERE Upper([TheField]) = Upper([YourParameter])

You could use something convoluted like below:

WHERE [TheField] = 'SMITH'
OR [TheField] = 'Smith'
OR [TheField] = 'smith'
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


lollygagger said:
When doing a query on data base files, I would like to be able to turn off
case sensitive. How can I do that?
 
J

John Vinson

When doing a query on data base files, I would like to be able to turn off
case sensitive. How can I do that?

Access is ALREADY non-case-sensitive, and it's durned difficult to
MAKE it case sensitive.

Are you using Access, or some other DBMS to store your data?

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top