Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dot added at the time of Data Extraction from sql Database

Dear All,

When I am fetching the data from sql database, Unnecessary dot(.) has been added in data after store the qvd.

For example if in database '46' value is there some field but when I am fetching it is '46.' in qlikview.

here in DB field length is 2 but in qvd its length of 3.

Can Anybody has any Suggestions in this regards, then please help.

Regards,

Vishal Modi

9 Replies
Anil_Babu_Samineni

May be use Trim()

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Thanks for giving time!

I already used Trim(), But its not work.

Regards,

Vishal

mostwanted123
Creator
Creator

Use Num function

Num(fieldname) as fieldname

Regards,

Pratik

Not applicable
Author

Thanks!

Cant use num function, because this is a text field in database.

Regards,

Vishal

mostwanted123
Creator
Creator

Can you show an example of the data ?

marcus_sommer

I would try  to load this field with: text(Field) within a Preceding Load. If this don't work I would look for a different database-driver.

- Marcus

ramasaisaksoft

May be replace() will work

REPLACE(TextString,'.','') AS TextString

bobbydave
Creator III
Creator III

purgechar( yourTextField, '.') as newValue

Not applicable
Author

For example if in database '46' value is there some field but when I am fetching it is '46.' in qlikview.

here in DB field length is 2 but in qvd its length of 3.