Revised the way arguments are handled by 'ixm sql'