My Oracle Support Banner

DG4ODBC - Unable to Fetch the Data While Using STRING in WHERE Clause (Doc ID 2915631.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Unable to fetch the data while using STRING value in WHERE clause from Oracle to MariaDB -

select "col1","col2","col3","col4"
FROM "<table_name>"@DBLINK
WHERE 1=1 AND "col4" = 'OE_ORDERS'
AND "col5" = 1234567
AND "col6" = 12345678

no rows

 

While below  command is getting output as expected

select "col1","col2","col3","col4"
FROM "<table_name>"@DBLINK
WHERE 1=1 AND "col4" = '1234567'
AND "col5" = 1234567
AND "col6" = 12345678

 

Result:

COL1 COL2 COL3 COL4



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.