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

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

tMSSQLRow with tsql-Statement using Linked Server

Hello,
maybe someone can help:
in "Talend Open Studio for Data Integration" 5.3 i have problem with one tMSSQLRow-Object , which is connecting to mssql-database and using linked server within statement via function "openquery". e.g.:
"SELECT * FROM openquery(LINKED_SERVER,'select * FROM test.Table1')"
in talend-queryeditor i get correct result of this select-statement, so talend can run this statement.
But when i integrate this tMSSQLRow-Object in job-workflow, i always get only 1 row as result with values NULL.
additionally this linked server is a postgres-server in my case hehe 0683p000009MACn.png
does anyone has ideas why this not work ? do you have same problems using function "openquery" in tsql-statements in talend ?
thank you very much for help. if i find solution too , i will post later here in this topic.
best regards, Carsten79
Labels (2)
4 Replies
Anonymous
Not applicable
Author

ok problem solved.
i should use "tMSSQLInput" instead of "tMSSQLRow" when goal is to process resultset.
topic can be closed.
best regards,
Carsten
Anonymous
Not applicable
Author

Hi,
In addition, we usually use tDBInput to execute a select query, you have to use a tParseRecordSet after tDBRow to parse the record set if you use tDBRow to execute a select query.
You can see the component reference about tMysqlRow with scenario2 and scenario3.
Best regards
Sabrina
Anonymous
Not applicable
Author

thank you very much for this tipp 0683p000009MACn.png tParseRecordSet i will test and check out more.
best regards,
Carsten
Anonymous
Not applicable
Author

Hi,
Feel free post your issue on forum.
Best regards
Sabrina