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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

How to execute multiple SQL statements using a single postgres input

Please tell me the way, How to execute multiple SQL statements using a single postgres input?
Labels (2)
2 Replies
Anonymous
Not applicable

Hi,
Please see the related KB article on Talend Help Center Executing multiple SQL statements with one tMysqlRow component.
Best regards
Sabrina
Anonymous
Not applicable

In Talend exists no build-in component to do this job (except for MySQL because the MySQL server parse a statement always as script).
For this purpose I have created the component tSQLScriptParser.
http://www.talendforge.org/exchange/index.php?eid=724&product=tos&action=view
Usage: tSQLScriptParser -- (iterate) --> tPostgresqlRow (with the current SQL statement return value from tSQLScriptParser_1)
You have to decide if the tPostgresqlRow component create its own connection (and commits every statement) or use a separate connection to run the script within one transaction.