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

How to use SQL function and where to put it?

Hi everyone,
Could you tell me how to apply/use a SQL function created and saved under a sql file (file.sql) in Talend?
I am not sure if I make myself clear. I actually want to use a SQL function in tMysql_Input component. How can I do that?
Thanks before hand.
Labels (2)
16 Replies
janhess
Creator II
Creator II

Why don't you just create this function in the database?
Anonymous
Not applicable
Author

Why don't you just create this function in the database?

Can you tell me how?
Here is what I try :
Metadeta->Db Connections->DemoMysql 0.1->Queries?
Anonymous
Not applicable
Author

I am back.
Everything works now. Thanks alot everyone, shong, mpa and janhess.
janhess
Creator II
Creator II

How did you resolve it?
Anonymous
Not applicable
Author

I followed what mpa suggested and debugged the SQL function itself.
Copy-past the function in the SQL query section of Tmysqlrow did not work. I had to quote the whole function code, making it look like one big long string.
I am not sure if I made myself clear 0683p000009MACn.png
janhess
Creator II
Creator II

You have to do that with all SQL in Talend
Anonymous
Not applicable
Author

You have to do that with all SQL in Talend

Yep. Just figured that out. I am new to Talend. It's been like a week that I use it 0683p000009MACn.png