on 2013 May 17 1:55 PM
My application (WizSource Source Control) comes in PB10 and PB10.5 versions and is designed to work with various databases.
I have come across a problem with Oracle which appears to be caused by queries being case sensitive.
I am pretty sure there is a session command I can use to change it to case insensitive but what exactly the command is, I don't know.
I would appreciate it if an Oracle guru could give an example.
Thanks,
Roland
Request clarification before answering.
Case sensitive with respect to what?
Object names: remove any quotation marks around object references. Quotation marks means do a case senstive comparision.
Where clause: Put UPPER or LOWER on both parts of the operation.
Sort: Add order by nlssort(<insert column name here>,'NLS_SORT=BINARY_CI');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It isn't a problem with the table/column names. I don't have quotes around the table/column names.
The problem is with the data not matching in the where clause. I don't care about sort order.
This page mentions some alter session commands:
http://stackoverflow.com/questions/5391069/case-insensitive-searching-in-oracle
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.