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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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"