How to rewrite the sql_user_name