EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB20043: How to solve database case sensitive problems in an Oracle database.


Community Admin

• Strategy


This technical note describes a workaround for a scenario where an Oracle database is setup as case sensitive

SYMPTOMS:
Sometimes it is necessary to migrate warehouse databases from one platform to another and. As a result doing so databases may become case sensitive.
Presently, case sensitive databases are not supported by Strategy as described in KB5521  and in such cases the destination database should be rebuilt to non-case sensitive database and migrated again.
Against case sensitive databases Strategy does not work correctly, as, for example, when a filter on an element is used the SQL produced by Strategy to filter on this element would be in lower cases, when the equivalent element on the data warehouse would be in upper cases. This would lead to an empty result set.
CONFIGURATION:

  • Strategy 9.x/10.x
  • Any Oracle database that supports modification of the sessions on the NLS_COMP and NLS_SORT parameters.

 
WORKAROUND:
Instead of rebuilding the entire database, two parameters can be changed on the Oracle database: Change the value of NLS_COMP to LINGUISTIC Change the value of NLS_SORT to BINARY_CI
This can be done in Oracle through the "ALTER SESSION" command, as for example:
ALTER SESSION SET NLS_SORT = 'BINARY_CI' NLS_COMP = 'LINGUISTIC';
 
For a more detailed explanation of these parameters please consult Oracle documentation.
After this change, query submitted to Oracle will ignore the particular case of its content, and Strategy will be able to fetch its content.
 
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 6, 2017

Last Updated:

September 11, 2017