select type,varname,description,query
from as_action_params
where parameter_id = :parameter_id
insert into as_action_params (parameter_id,action_id,type,varname,description,query)
values(:parameter_id,:action_id, :type,:varname,:description,:query)
update as_action_params set
varname=:varname,description=:description,query=:query,type=:type
where parameter_id = :parameter_id