Udo is correct in the fact that you can not use JQL for anything else than select queries.
The following page explains how you can run your sql commands directly in the HSQL database:
https://confluence.atlassian.com/display/JIRA/Running+SQL+commands+in+a+HSQL+database
I hope this helps you out.
Best Regards,
Peter
As far as I know you can't use JQL for updating issues. It is just for querying issues - not like SQL where you have different DML options (Select, Insert, Update, Delete)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.