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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

uuid Generator for Expression

Hi All,

I am trying to generate some uuids to popuate into a database. I am using the code uuid_generate_v4() but getting errors.

Can someone tell me what is the correct syntax that I should be using?

0683p000009Lven.png

This is the error it is throwing.

Error in the component's properties:The method uuid_generate_v4() is undefined for the type customers

Thanks

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello
It is a compilation error, the method uuid_generate_v4() is undefined. If it is DB function, you should use it in the Additional columns table in the Advanced settings of txxxOutput component. Anther way to generate a uuid string is to use Java API java.util.UUID, for more information, see
https://community.talend.com/t5/Design-and-Development/resolved-How-to-use-UUID-keys-with-MySQL-in-T...

Regards
Shong