Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using upper and lower case alphas in the where clause

I have a database table I want to select data from using a text field in the where clause that contains both upper...

and lower case alphas. However, the comparison field in the where clause may contain only upper case or only lower case values.

Is there any way to do this type of selection and have the where clause match without regard to case? Perhaps with a native SQL select statement?
To do this in ABAP, you must in some way copy the target records, so the mixed case field is converted to, e.g. upper case. Then you can do the match from your comparison field. Perhaps an interim internal table could be used to achieve this. If native SQL has a solution, it would depends on your database.

This was last published in June 2004

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close