Hi Neha,
In case you are using MII to schedule the SQL query here is what you can do:
1) Create the SQL query with a parameter(use param.1, param.2 etc.)
2) Create a transaction using this SQL query
3) Map the parameter of the action block to the persistent variable using Link Editor.
You don't need to use the table.
Regards,
Anushree