use_sql_rj(), cast