Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ivan_will
Partner - Creator II
Partner - Creator II

Problem with codes in MQ SQL Database - different codes become the same ... ?!

Hi all,

I have problems with codes in MQ SQL database.

The problem is that in the DB there is Document Codes like: 01 ; 001  ; 0000000001

When I reload all the lines all of the above codes become like 0000000001 and there is dublication in my data!

When I use where func by customer number it shows 01 but when make with two client names the codes become 001 (fist dos is 01 and the second 001)

Ideas?????

1 Solution

Accepted Solutions
Not applicable

Hello Ivan.

I had the same problem.

Try to force the format in string... like this:

[TABLE_ALIAS]:

Load Text(Document_Code) as Document_Code_Formated, *; //This load command will load data from the SQL command bellow, forcing the Document_Code to be in a string format

SQL Select * From SQL_Table;

That will do (perharps hahaha)

Regards,

Bruno

View solution in original post

1 Reply
Not applicable

Hello Ivan.

I had the same problem.

Try to force the format in string... like this:

[TABLE_ALIAS]:

Load Text(Document_Code) as Document_Code_Formated, *; //This load command will load data from the SQL command bellow, forcing the Document_Code to be in a string format

SQL Select * From SQL_Table;

That will do (perharps hahaha)

Regards,

Bruno