Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Supriya_I
Partner - Contributor
Partner - Contributor

Getting Case-Sensitive data in the Oracle (target side).

Using MS-CDC as source and Oracle as target. Getting case sensitive data in the Oracle side.

Scenario 1:

When running this query,
select count(*) from db."Table_name";
Output: 552816

Scenario 2:
When running query without quotes,
select count(*) from db.Table_name;
Output: Throwing Error telling
Table or view doesn't exist

I want this query to run without quotes.

1 Solution

Accepted Solutions
john_wang
Support
Support

Hello @Supriya_I ,

Welcome to Qlik Community forum and thanks for reaching out here!

This is because the table name in Oracle is in upper case by default. If the table name is mixed by some lower case characters, then we have to quote the table to let Oracle query processor works.

The most easy way is defining a Global Transformation to convert the table name to upper case. A sample:

john_wang_0-1717490880864.png

john_wang_1-1717491062255.png

 

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

2 Replies
john_wang
Support
Support

Hello @Supriya_I ,

Welcome to Qlik Community forum and thanks for reaching out here!

This is because the table name in Oracle is in upper case by default. If the table name is mixed by some lower case characters, then we have to quote the table to let Oracle query processor works.

The most easy way is defining a Global Transformation to convert the table name to upper case. A sample:

john_wang_0-1717490880864.png

john_wang_1-1717491062255.png

 

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
Heinvandenheuvel
Specialist III
Specialist III

 

This is standard Oracle behavior. In fact MS SQL is just about the only DB Trying to 'help' by making stuff implicitly case insensitive.

The topic mentions case sensitive data, but the text asks about meta-data.

Replicate can easily be told to transform mixed case to upper or lower case, for data and Metadata, for specific objects (tables, columns) or whole groups. As per John's reply. One could argue that you loose data accuracy and readability for all for the convenience of a few.

Good luck!

Hein