Add params for sql.