select 'grant select on '||table_name ||' to 用户名;' from user_tables ; 执行sql,把结果在“用户名”实例中执行。我的错误是这样解决的