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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Executing "SQL" statements

I am used to executing sql via components by other outputting data into CSVs or updating data via CSVs.  I have never needed to run SQL commands that dont really send or return data like running "truncate" on table.  Which component would be best for this? 

Labels (2)
3 Replies
vapukov
Master II
Master II

Think it is tMySQLRow (change MySQL for Your type of database), 
if more than 1 command in same component - read about JDBC parameters specific for Your database
cterenzi
Specialist
Specialist

You can run multiple commands with a single database "Row" component by separating them with semicolons.
vapukov
Master II
Master II

cterenzi wrote:
You can run multiple commands with a single database "Row" component by separating them with semicolons.

in case of MySQL at least, in this case You must add
Additional JDBC Parameters   "allowMultiQueries=true"