Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kattis68
Contributor
Contributor

Qlikview , removing leading zero when loading CHAR from database to QVD.

Hello ,

I have a question.  When loading from a oracle  database to a QVD ,one column (VARCHAR2(50 CHAR)) is treated as a integer and the leading zero is removed , 0100975 appears as 100975.

The job works like this. First data is load from database with sql to QVD and then data is load from that QVD to Main QVD. 

Then i have tried to add Text() to QVD but is not working and i have tried added to_char to sql but no difference.


Please suggest.

Thanks in advance.

1 Solution

Accepted Solutions
anat
Master
Master

can u try preceding load before the select statement like..

load col1,text(col2);

select col1,col2 from table;

View solution in original post

3 Replies
anat
Master
Master

can u try preceding load before the select statement like..

load col1,text(col2);

select col1,col2 from table;

kattis68
Contributor
Contributor
Author

Hello, it worked!  Thank you very much for your help.