Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Data extraction from Oracle database

Extracting the data from the Oracle Table, throws an error

"ErrorSource: OraOLEDB, ErrorMsg: ROW-00004: Invalid column datatype

SQL SELECT .... FROM db.table"

Extraction works fine when commenting out the problematic column. Appreciate your help and support.

-Ram

1 Solution

Accepted Solutions
Not applicable
Author

Figured out the issue.

The issue is because the field in concern contains NULL values which has to be treated.

Modifying the SQL in QV Script like below

SQL SELECT NVL(PROBLEM_FIELD, NULL) as OBDIENT_FIELD FROM Ddb.table

worked.

-Ram

View solution in original post

1 Reply
Not applicable
Author

Figured out the issue.

The issue is because the field in concern contains NULL values which has to be treated.

Modifying the SQL in QV Script like below

SQL SELECT NVL(PROBLEM_FIELD, NULL) as OBDIENT_FIELD FROM Ddb.table

worked.

-Ram